Bazaar developer reference

CvLuaCity::lUpdateStrengthValue(lua_State *)

Defined in
Lua/CvLuaCity.cpp, line 3787
Class
CvLuaCity
Hook name
CivHooks::CvLuaCity_lUpdateStrengthValue

Hooks

static bool BeforeCvLuaCity_lUpdateStrengthValue(lua_State* L, int& result);static void AfterCvLuaCity_lUpdateStrengthValue(lua_State* L, int& result);static int ReplaceCvLuaCity_lUpdateStrengthValue(int (*original)(lua_State*), lua_State* L);CivRegisterBefore<CivHooks::CvLuaCity_lUpdateStrengthValue>(host, &BeforeCvLuaCity_lUpdateStrengthValue);CivRegisterAfter<CivHooks::CvLuaCity_lUpdateStrengthValue>(host, &AfterCvLuaCity_lUpdateStrengthValue);CivRegisterReplace<CivHooks::CvLuaCity_lUpdateStrengthValue>(host, &ReplaceCvLuaCity_lUpdateStrengthValue);

Code

3786//void updateStrengthValue();3787int CvLuaCity::lUpdateStrengthValue(lua_State* L)3788{3789	CvCity* pkCity = GetInstance(L);3790	pkCity->updateStrengthValue();37913792	return 1;3793}

Calls

Called by