Bazaar developer reference

CvLuaTeam::lCountNumCitiesByArea(lua_State *)

Defined in
Lua/CvLuaTeam.cpp, line 491
Class
CvLuaTeam
Hook name
CivHooks::CvLuaTeam_lCountNumCitiesByArea

Hooks

static bool BeforeCvLuaTeam_lCountNumCitiesByArea(lua_State* L, int& result);static void AfterCvLuaTeam_lCountNumCitiesByArea(lua_State* L, int& result);static int ReplaceCvLuaTeam_lCountNumCitiesByArea(int (*original)(lua_State*), lua_State* L);CivRegisterBefore<CivHooks::CvLuaTeam_lCountNumCitiesByArea>(host, &BeforeCvLuaTeam_lCountNumCitiesByArea);CivRegisterAfter<CivHooks::CvLuaTeam_lCountNumCitiesByArea>(host, &AfterCvLuaTeam_lCountNumCitiesByArea);CivRegisterReplace<CivHooks::CvLuaTeam_lCountNumCitiesByArea>(host, &ReplaceCvLuaTeam_lCountNumCitiesByArea);

Code

490//int countNumCitiesByArea(CvArea* pArea);491int CvLuaTeam::lCountNumCitiesByArea(lua_State* L)492{493	return BasicLuaMethod(L, &CvTeam::countNumCitiesByArea);494}

Calls

Called by