Bazaar developer reference

CvLuaCity::lIsProductionBuilding(lua_State *)

Defined in
Lua/CvLuaCity.cpp, line 1149
Class
CvLuaCity
Hook name
CivHooks::CvLuaCity_lIsProductionBuilding

Hooks

static bool BeforeCvLuaCity_lIsProductionBuilding(lua_State* L, int& result);static void AfterCvLuaCity_lIsProductionBuilding(lua_State* L, int& result);static int ReplaceCvLuaCity_lIsProductionBuilding(int (*original)(lua_State*), lua_State* L);CivRegisterBefore<CivHooks::CvLuaCity_lIsProductionBuilding>(host, &BeforeCvLuaCity_lIsProductionBuilding);CivRegisterAfter<CivHooks::CvLuaCity_lIsProductionBuilding>(host, &AfterCvLuaCity_lIsProductionBuilding);CivRegisterReplace<CivHooks::CvLuaCity_lIsProductionBuilding>(host, &ReplaceCvLuaCity_lIsProductionBuilding);

Code

1148//bool isProductionBuilding();1149int CvLuaCity::lIsProductionBuilding(lua_State* L)1150{1151	return BasicLuaMethod(L, &CvCity::isProductionBuilding);1152}

Calls

Called by