Bazaar developer reference

CvLuaPlayer::lIsBuildingClassMaxedOut(lua_State *)

Defined in
Lua/CvLuaPlayer.cpp, line 7557
Class
CvLuaPlayer
Hook name
CivHooks::CvLuaPlayer_lIsBuildingClassMaxedOut

Hooks

static bool BeforeCvLuaPlayer_lIsBuildingClassMaxedOut(lua_State* L, int& result);static void AfterCvLuaPlayer_lIsBuildingClassMaxedOut(lua_State* L, int& result);static int ReplaceCvLuaPlayer_lIsBuildingClassMaxedOut(int (*original)(lua_State*), lua_State* L);CivRegisterBefore<CivHooks::CvLuaPlayer_lIsBuildingClassMaxedOut>(host, &BeforeCvLuaPlayer_lIsBuildingClassMaxedOut);CivRegisterAfter<CivHooks::CvLuaPlayer_lIsBuildingClassMaxedOut>(host, &AfterCvLuaPlayer_lIsBuildingClassMaxedOut);CivRegisterReplace<CivHooks::CvLuaPlayer_lIsBuildingClassMaxedOut>(host, &ReplaceCvLuaPlayer_lIsBuildingClassMaxedOut);

Code

7556//bool isBuildingClassMaxedOut(BuildingClassTypes  iIndex, int iExtra);7557int CvLuaPlayer::lIsBuildingClassMaxedOut(lua_State* L)7558{7559	return BasicLuaMethod(L, &CvPlayerAI::isBuildingClassMaxedOut);7560}

Calls

Called by