Bazaar developer reference

CvLuaGame::lIsCivEverActive(lua_State *)

Defined in
Lua/CvLuaGame.cpp, line 1786
Class
CvLuaGame
Hook name
CivHooks::CvLuaGame_lIsCivEverActive

Hooks

static bool BeforeCvLuaGame_lIsCivEverActive(lua_State* L, int& result);static void AfterCvLuaGame_lIsCivEverActive(lua_State* L, int& result);static int ReplaceCvLuaGame_lIsCivEverActive(int (*original)(lua_State*), lua_State* L);CivRegisterBefore<CivHooks::CvLuaGame_lIsCivEverActive>(host, &BeforeCvLuaGame_lIsCivEverActive);CivRegisterAfter<CivHooks::CvLuaGame_lIsCivEverActive>(host, &AfterCvLuaGame_lIsCivEverActive);CivRegisterReplace<CivHooks::CvLuaGame_lIsCivEverActive>(host, &ReplaceCvLuaGame_lIsCivEverActive);

Code

1785//bool isCivEverActive(CivilizationTypes eCivilization);1786int CvLuaGame::lIsCivEverActive(lua_State* L)1787{1788	return BasicLuaMethod(L, &CvGame::isCivEverActive);1789}

Calls

Called by