Bazaar developer reference

CvLuaCity::lSetDamage(lua_State *)

Defined in
Lua/CvLuaCity.cpp, line 3816
Class
CvLuaCity
Hook name
CivHooks::CvLuaCity_lSetDamage

Hooks

static bool BeforeCvLuaCity_lSetDamage(lua_State* L, int& result);static void AfterCvLuaCity_lSetDamage(lua_State* L, int& result);static int ReplaceCvLuaCity_lSetDamage(int (*original)(lua_State*), lua_State* L);CivRegisterBefore<CivHooks::CvLuaCity_lSetDamage>(host, &BeforeCvLuaCity_lSetDamage);CivRegisterAfter<CivHooks::CvLuaCity_lSetDamage>(host, &AfterCvLuaCity_lSetDamage);CivRegisterReplace<CivHooks::CvLuaCity_lSetDamage>(host, &ReplaceCvLuaCity_lSetDamage);

Code

3815//void setDamage(int iValue);3816int CvLuaCity::lSetDamage(lua_State* L)3817{3818	return BasicLuaMethod(L, &CvCity::setDamage);3819}

Calls

Called by