Bazaar developer reference

CvLuaCity::lIsProductionLimited(lua_State *)

Defined in
Lua/CvLuaCity.cpp, line 1137
Class
CvLuaCity
Hook name
CivHooks::CvLuaCity_lIsProductionLimited

Hooks

static bool BeforeCvLuaCity_lIsProductionLimited(lua_State* L, int& result);static void AfterCvLuaCity_lIsProductionLimited(lua_State* L, int& result);static int ReplaceCvLuaCity_lIsProductionLimited(int (*original)(lua_State*), lua_State* L);CivRegisterBefore<CivHooks::CvLuaCity_lIsProductionLimited>(host, &BeforeCvLuaCity_lIsProductionLimited);CivRegisterAfter<CivHooks::CvLuaCity_lIsProductionLimited>(host, &AfterCvLuaCity_lIsProductionLimited);CivRegisterReplace<CivHooks::CvLuaCity_lIsProductionLimited>(host, &ReplaceCvLuaCity_lIsProductionLimited);

Code

1136//bool isProductionLimited();1137int CvLuaCity::lIsProductionLimited(lua_State* L)1138{1139	return BasicLuaMethod(L, &CvCity::isProductionLimited);1140}

Calls

Called by