Bazaar developer reference

CvLuaCity::lIsProduction(lua_State *)

Defined in
Lua/CvLuaCity.cpp, line 1131
Class
CvLuaCity
Hook name
CivHooks::CvLuaCity_lIsProduction

Hooks

static bool BeforeCvLuaCity_lIsProduction(lua_State* L, int& result);static void AfterCvLuaCity_lIsProduction(lua_State* L, int& result);static int ReplaceCvLuaCity_lIsProduction(int (*original)(lua_State*), lua_State* L);CivRegisterBefore<CivHooks::CvLuaCity_lIsProduction>(host, &BeforeCvLuaCity_lIsProduction);CivRegisterAfter<CivHooks::CvLuaCity_lIsProduction>(host, &AfterCvLuaCity_lIsProduction);CivRegisterReplace<CivHooks::CvLuaCity_lIsProduction>(host, &ReplaceCvLuaCity_lIsProduction);

Code

1130//bool isProduction();1131int CvLuaCity::lIsProduction(lua_State* L)1132{1133	return BasicLuaMethod(L, &CvCity::isProduction);1134}

Calls

Called by