Bazaar developer reference

CvLuaGame::lGetGameState(lua_State *)

Defined in
Lua/CvLuaGame.cpp, line 1341
Class
CvLuaGame
Hook name
CivHooks::CvLuaGame_lGetGameState

Hooks

static bool BeforeCvLuaGame_lGetGameState(lua_State* L, int& result);static void AfterCvLuaGame_lGetGameState(lua_State* L, int& result);static int ReplaceCvLuaGame_lGetGameState(int (*original)(lua_State*), lua_State* L);CivRegisterBefore<CivHooks::CvLuaGame_lGetGameState>(host, &BeforeCvLuaGame_lGetGameState);CivRegisterAfter<CivHooks::CvLuaGame_lGetGameState>(host, &AfterCvLuaGame_lGetGameState);CivRegisterReplace<CivHooks::CvLuaGame_lGetGameState>(host, &ReplaceCvLuaGame_lGetGameState);

Code

1340//GameStateTypes getGameState();1341int CvLuaGame::lGetGameState(lua_State* L)1342{1343	return BasicLuaMethod(L, &CvGame::getGameState);1344}

Calls

Called by