Bazaar developer reference

CvLuaCity::lClearGreatWorks(lua_State *)

Defined in
Lua/CvLuaCity.cpp, line 2450
Class
CvLuaCity
Hook name
CivHooks::CvLuaCity_lClearGreatWorks

Hooks

static bool BeforeCvLuaCity_lClearGreatWorks(lua_State* L, int& result);static void AfterCvLuaCity_lClearGreatWorks(lua_State* L, int& result);static int ReplaceCvLuaCity_lClearGreatWorks(int (*original)(lua_State*), lua_State* L);CivRegisterBefore<CivHooks::CvLuaCity_lClearGreatWorks>(host, &BeforeCvLuaCity_lClearGreatWorks);CivRegisterAfter<CivHooks::CvLuaCity_lClearGreatWorks>(host, &AfterCvLuaCity_lClearGreatWorks);CivRegisterReplace<CivHooks::CvLuaCity_lClearGreatWorks>(host, &ReplaceCvLuaCity_lClearGreatWorks);

Code

2449//void ClearGreatWorks();2450int CvLuaCity::lClearGreatWorks(lua_State* L)2451{2452	CvCity* pkCity = GetInstance(L);2453	pkCity->GetCityCulture()->ClearGreatWorks();2454	return 1;2455}

Calls

Called by