CvLuaCity::lCanConscript(lua_State *)
- Defined in
- Lua/CvLuaCity.cpp, line 1643
- Class
- CvLuaCity
- Hook name
CivHooks::CvLuaCity_lCanConscript
Hooks
static bool BeforeCvLuaCity_lCanConscript(lua_State* L, int& result);static void AfterCvLuaCity_lCanConscript(lua_State* L, int& result);static int ReplaceCvLuaCity_lCanConscript(int (*original)(lua_State*), lua_State* L);CivRegisterBefore<CivHooks::CvLuaCity_lCanConscript>(host, &BeforeCvLuaCity_lCanConscript);CivRegisterAfter<CivHooks::CvLuaCity_lCanConscript>(host, &AfterCvLuaCity_lCanConscript);CivRegisterReplace<CivHooks::CvLuaCity_lCanConscript>(host, &ReplaceCvLuaCity_lCanConscript);
Code
1642//bool canConscript();1643int CvLuaCity::lCanConscript(lua_State* L)1644{1645 return BasicLuaMethod(L, &CvCity::canConscript);1646}
Calls
- CvCity::canConscript() const
CvLuaMethodWrapper::BasicLuaMethod