Bazaar developer reference

CvLuaCity::lIsCapital(lua_State *)

Defined in
Lua/CvLuaCity.cpp, line 1724
Class
CvLuaCity
Hook name
CivHooks::CvLuaCity_lIsCapital

Hooks

static bool BeforeCvLuaCity_lIsCapital(lua_State* L, int& result);static void AfterCvLuaCity_lIsCapital(lua_State* L, int& result);static int ReplaceCvLuaCity_lIsCapital(int (*original)(lua_State*), lua_State* L);CivRegisterBefore<CivHooks::CvLuaCity_lIsCapital>(host, &BeforeCvLuaCity_lIsCapital);CivRegisterAfter<CivHooks::CvLuaCity_lIsCapital>(host, &AfterCvLuaCity_lIsCapital);CivRegisterReplace<CivHooks::CvLuaCity_lIsCapital>(host, &ReplaceCvLuaCity_lIsCapital);

Code

1723//bool isCapital();1724int CvLuaCity::lIsCapital(lua_State* L)1725{1726	return BasicLuaMethod(L, &CvCity::isCapital);1727}

Calls

Called by