Bazaar developer reference

CvLuaCity::lChangeResistanceTurns(lua_State *)

Defined in
Lua/CvLuaCity.cpp, line 3001
Class
CvLuaCity
Hook name
CivHooks::CvLuaCity_lChangeResistanceTurns

Hooks

static bool BeforeCvLuaCity_lChangeResistanceTurns(lua_State* L, int& result);static void AfterCvLuaCity_lChangeResistanceTurns(lua_State* L, int& result);static int ReplaceCvLuaCity_lChangeResistanceTurns(int (*original)(lua_State*), lua_State* L);CivRegisterBefore<CivHooks::CvLuaCity_lChangeResistanceTurns>(host, &BeforeCvLuaCity_lChangeResistanceTurns);CivRegisterAfter<CivHooks::CvLuaCity_lChangeResistanceTurns>(host, &AfterCvLuaCity_lChangeResistanceTurns);CivRegisterReplace<CivHooks::CvLuaCity_lChangeResistanceTurns>(host, &ReplaceCvLuaCity_lChangeResistanceTurns);

Code

3000//int ChangeResistanceTurns();3001int CvLuaCity::lChangeResistanceTurns(lua_State* L)3002{3003	return BasicLuaMethod(L, &CvCity::ChangeResistanceTurns);3004}

Calls

Called by