Bazaar developer reference

CvLuaPlayer::lIsProductionMaxedBuildingClass(lua_State *)

Defined in
Lua/CvLuaPlayer.cpp, line 1791
Class
CvLuaPlayer
Hook name
CivHooks::CvLuaPlayer_lIsProductionMaxedBuildingClass

Hooks

static bool BeforeCvLuaPlayer_lIsProductionMaxedBuildingClass(lua_State* L, int& result);static void AfterCvLuaPlayer_lIsProductionMaxedBuildingClass(lua_State* L, int& result);static int ReplaceCvLuaPlayer_lIsProductionMaxedBuildingClass(int (*original)(lua_State*), lua_State* L);CivRegisterBefore<CivHooks::CvLuaPlayer_lIsProductionMaxedBuildingClass>(host, &BeforeCvLuaPlayer_lIsProductionMaxedBuildingClass);CivRegisterAfter<CivHooks::CvLuaPlayer_lIsProductionMaxedBuildingClass>(host, &AfterCvLuaPlayer_lIsProductionMaxedBuildingClass);CivRegisterReplace<CivHooks::CvLuaPlayer_lIsProductionMaxedBuildingClass>(host, &ReplaceCvLuaPlayer_lIsProductionMaxedBuildingClass);

Code

1790//bool isProductionMaxedBuildingClass(BuildingClassTypes  eBuildingClass, bool bAcquireCity);1791int CvLuaPlayer::lIsProductionMaxedBuildingClass(lua_State* L)1792{1793	return BasicLuaMethod(L, &CvPlayerAI::isProductionMaxedBuildingClass);1794}

Calls

Called by