Bazaar developer reference

CvLuaCity::lIsProductionProject(lua_State *)

Defined in
Lua/CvLuaCity.cpp, line 1155
Class
CvLuaCity
Hook name
CivHooks::CvLuaCity_lIsProductionProject

Hooks

static bool BeforeCvLuaCity_lIsProductionProject(lua_State* L, int& result);static void AfterCvLuaCity_lIsProductionProject(lua_State* L, int& result);static int ReplaceCvLuaCity_lIsProductionProject(int (*original)(lua_State*), lua_State* L);CivRegisterBefore<CivHooks::CvLuaCity_lIsProductionProject>(host, &BeforeCvLuaCity_lIsProductionProject);CivRegisterAfter<CivHooks::CvLuaCity_lIsProductionProject>(host, &AfterCvLuaCity_lIsProductionProject);CivRegisterReplace<CivHooks::CvLuaCity_lIsProductionProject>(host, &ReplaceCvLuaCity_lIsProductionProject);

Code

1154//bool isProductionProject();1155int CvLuaCity::lIsProductionProject(lua_State* L)1156{1157	return BasicLuaMethod(L, &CvCity::isProductionProject);1158}

Calls

Called by