Bazaar developer reference

CvLuaGame::lIsBuildingEverActive(lua_State *)

Defined in
Lua/CvLuaGame.cpp, line 1804
Class
CvLuaGame
Hook name
CivHooks::CvLuaGame_lIsBuildingEverActive

Hooks

static bool BeforeCvLuaGame_lIsBuildingEverActive(lua_State* L, int& result);static void AfterCvLuaGame_lIsBuildingEverActive(lua_State* L, int& result);static int ReplaceCvLuaGame_lIsBuildingEverActive(int (*original)(lua_State*), lua_State* L);CivRegisterBefore<CivHooks::CvLuaGame_lIsBuildingEverActive>(host, &BeforeCvLuaGame_lIsBuildingEverActive);CivRegisterAfter<CivHooks::CvLuaGame_lIsBuildingEverActive>(host, &AfterCvLuaGame_lIsBuildingEverActive);CivRegisterReplace<CivHooks::CvLuaGame_lIsBuildingEverActive>(host, &ReplaceCvLuaGame_lIsBuildingEverActive);

Code

1803//bool isBuildingEverActive(BuildingTypes eBuilding);1804int CvLuaGame::lIsBuildingEverActive(lua_State* L)1805{1806	return BasicLuaMethod(L, &CvGame::isBuildingEverActive);1807}

Calls

Called by