Bazaar developer reference

CvLuaCity::lIsProductionUnit(lua_State *)

Defined in
Lua/CvLuaCity.cpp, line 1143
Class
CvLuaCity
Hook name
CivHooks::CvLuaCity_lIsProductionUnit

Hooks

static bool BeforeCvLuaCity_lIsProductionUnit(lua_State* L, int& result);static void AfterCvLuaCity_lIsProductionUnit(lua_State* L, int& result);static int ReplaceCvLuaCity_lIsProductionUnit(int (*original)(lua_State*), lua_State* L);CivRegisterBefore<CivHooks::CvLuaCity_lIsProductionUnit>(host, &BeforeCvLuaCity_lIsProductionUnit);CivRegisterAfter<CivHooks::CvLuaCity_lIsProductionUnit>(host, &AfterCvLuaCity_lIsProductionUnit);CivRegisterReplace<CivHooks::CvLuaCity_lIsProductionUnit>(host, &ReplaceCvLuaCity_lIsProductionUnit);

Code

1142//bool isProductionUnit();1143int CvLuaCity::lIsProductionUnit(lua_State* L)1144{1145	return BasicLuaMethod(L, &CvCity::isProductionUnit);1146}

Calls

Called by