add GetInt & GetFloat method for gamedata.go