Bazaar developer reference

CvLuaGame::lIsBuildingClassMaxedOut(lua_State *)

Defined in
Lua/CvLuaGame.cpp, line 1523
Class
CvLuaGame
Hook name
CivHooks::CvLuaGame_lIsBuildingClassMaxedOut

Hooks

static bool BeforeCvLuaGame_lIsBuildingClassMaxedOut(lua_State* L, int& result);static void AfterCvLuaGame_lIsBuildingClassMaxedOut(lua_State* L, int& result);static int ReplaceCvLuaGame_lIsBuildingClassMaxedOut(int (*original)(lua_State*), lua_State* L);CivRegisterBefore<CivHooks::CvLuaGame_lIsBuildingClassMaxedOut>(host, &BeforeCvLuaGame_lIsBuildingClassMaxedOut);CivRegisterAfter<CivHooks::CvLuaGame_lIsBuildingClassMaxedOut>(host, &AfterCvLuaGame_lIsBuildingClassMaxedOut);CivRegisterReplace<CivHooks::CvLuaGame_lIsBuildingClassMaxedOut>(host, &ReplaceCvLuaGame_lIsBuildingClassMaxedOut);

Code

1522//bool isBuildingClassMaxedOut(BuildingClassTypes eIndex, int iExtra);1523int CvLuaGame::lIsBuildingClassMaxedOut(lua_State* L)1524{1525	return BasicLuaMethod(L, &CvGame::isBuildingClassMaxedOut);1526}

Calls

Called by