Bazaar developer reference

CvLuaCity::lIsNeverLost(lua_State *)

Defined in
Lua/CvLuaCity.cpp, line 3075
Class
CvLuaCity
Hook name
CivHooks::CvLuaCity_lIsNeverLost

Hooks

static bool BeforeCvLuaCity_lIsNeverLost(lua_State* L, int& result);static void AfterCvLuaCity_lIsNeverLost(lua_State* L, int& result);static int ReplaceCvLuaCity_lIsNeverLost(int (*original)(lua_State*), lua_State* L);CivRegisterBefore<CivHooks::CvLuaCity_lIsNeverLost>(host, &BeforeCvLuaCity_lIsNeverLost);CivRegisterAfter<CivHooks::CvLuaCity_lIsNeverLost>(host, &AfterCvLuaCity_lIsNeverLost);CivRegisterReplace<CivHooks::CvLuaCity_lIsNeverLost>(host, &ReplaceCvLuaCity_lIsNeverLost);

Code

3074//bool isNeverLost();3075int CvLuaCity::lIsNeverLost(lua_State* L)3076{3077	return BasicLuaMethod(L, &CvCity::isNeverLost);3078}

Calls

Called by