Bazaar developer reference

CvLuaTeam::lCountTotalPopulationByArea(lua_State *)

Defined in
Lua/CvLuaTeam.cpp, line 498
Class
CvLuaTeam
Hook name
CivHooks::CvLuaTeam_lCountTotalPopulationByArea

Hooks

static bool BeforeCvLuaTeam_lCountTotalPopulationByArea(lua_State* L, int& result);static void AfterCvLuaTeam_lCountTotalPopulationByArea(lua_State* L, int& result);static int ReplaceCvLuaTeam_lCountTotalPopulationByArea(int (*original)(lua_State*), lua_State* L);CivRegisterBefore<CivHooks::CvLuaTeam_lCountTotalPopulationByArea>(host, &BeforeCvLuaTeam_lCountTotalPopulationByArea);CivRegisterAfter<CivHooks::CvLuaTeam_lCountTotalPopulationByArea>(host, &AfterCvLuaTeam_lCountTotalPopulationByArea);CivRegisterReplace<CivHooks::CvLuaTeam_lCountTotalPopulationByArea>(host, &ReplaceCvLuaTeam_lCountTotalPopulationByArea);

Code

497//int countTotalPopulationByArea(CvArea* pArea);498int CvLuaTeam::lCountTotalPopulationByArea(lua_State* L)499{500	return BasicLuaMethod(L, &CvTeam::countTotalPopulationByArea);501}

Calls

Called by