Bazaar developer reference

CvLuaCity::lSetNeverLost(lua_State *)

Defined in
Lua/CvLuaCity.cpp, line 3081
Class
CvLuaCity
Hook name
CivHooks::CvLuaCity_lSetNeverLost

Hooks

static bool BeforeCvLuaCity_lSetNeverLost(lua_State* L, int& result);static void AfterCvLuaCity_lSetNeverLost(lua_State* L, int& result);static int ReplaceCvLuaCity_lSetNeverLost(int (*original)(lua_State*), lua_State* L);CivRegisterBefore<CivHooks::CvLuaCity_lSetNeverLost>(host, &BeforeCvLuaCity_lSetNeverLost);CivRegisterAfter<CivHooks::CvLuaCity_lSetNeverLost>(host, &AfterCvLuaCity_lSetNeverLost);CivRegisterReplace<CivHooks::CvLuaCity_lSetNeverLost>(host, &ReplaceCvLuaCity_lSetNeverLost);

Code

3080//void setNeverLost(int iNewValue);3081int CvLuaCity::lSetNeverLost(lua_State* L)3082{3083	return BasicLuaMethod(L, &CvCity::setNeverLost);3084}

Calls

Called by