Bazaar developer reference

CvLuaCity::lKill(lua_State *)

Defined in
Lua/CvLuaCity.cpp, line 634
Class
CvLuaCity
Hook name
CivHooks::CvLuaCity_lKill

Hooks

static bool BeforeCvLuaCity_lKill(lua_State* L, int& result);static void AfterCvLuaCity_lKill(lua_State* L, int& result);static int ReplaceCvLuaCity_lKill(int (*original)(lua_State*), lua_State* L);CivRegisterBefore<CivHooks::CvLuaCity_lKill>(host, &BeforeCvLuaCity_lKill);CivRegisterAfter<CivHooks::CvLuaCity_lKill>(host, &AfterCvLuaCity_lKill);CivRegisterReplace<CivHooks::CvLuaCity_lKill>(host, &ReplaceCvLuaCity_lKill);

Code

633//void kill();634int CvLuaCity::lKill(lua_State* L)635{636	CvCity* pkCity = GetInstance(L);637	pkCity->kill();638639	return 1;640}

Calls

Called by