lua/wrappers/game/lua_engine.cpp
/**
	 * @static
	 * Looks up a game object by gameId.
	 * Returns a game object if found, nil otherwise.
	 * @param string game_id The game id to look up.
	 * @returns am.game_object The found game object, nil if not found.
	 */
@static
Looks up a game object by gameId.
Returns a game object if found, nil otherwise.
@param string game_id The game id to look up.
@returns am.game_object The found game object, nil if not found.
@static Looks up a game object by gameId . Returns a game object if found nil otherwise . @param string game_id The game id to look up . @returns am . game_object The found game object nil if not found .
int Engine_get_by_game_id(lua_State *lua)
	{
		if (lua_isstr(lua, 1))
		{
			wrapGameObject(lua, Engine::getEngine()->getGameObject(lua_tostring(lua, 1)));
			return 1;
		}
		return LuaState::expectedArgs(lua, "@game_object", "string gameId");
	}
int Engine_get_by_game_id ( lua_State * lua ) { if ( lua_isstr ( lua , 1 ) ) { wrapGameObject ( lua , Engine :: getEngine ( ) -> getGameObject ( lua_tostring ( lua , 1 ) ) ) ; return 1 ; } return LuaState :: expectedArgs ( lua , " " , " " ) ; }
@static
 Looks up a game object by gameId.
@static Looks up a game object by gameId .