Bazaar developer reference

CvLuaTeam::lCountNumUnitsByArea(lua_State *)

Defined in
Lua/CvLuaTeam.cpp, line 484
Class
CvLuaTeam
Hook name
CivHooks::CvLuaTeam_lCountNumUnitsByArea

Hooks

static bool BeforeCvLuaTeam_lCountNumUnitsByArea(lua_State* L, int& result);static void AfterCvLuaTeam_lCountNumUnitsByArea(lua_State* L, int& result);static int ReplaceCvLuaTeam_lCountNumUnitsByArea(int (*original)(lua_State*), lua_State* L);CivRegisterBefore<CivHooks::CvLuaTeam_lCountNumUnitsByArea>(host, &BeforeCvLuaTeam_lCountNumUnitsByArea);CivRegisterAfter<CivHooks::CvLuaTeam_lCountNumUnitsByArea>(host, &AfterCvLuaTeam_lCountNumUnitsByArea);CivRegisterReplace<CivHooks::CvLuaTeam_lCountNumUnitsByArea>(host, &ReplaceCvLuaTeam_lCountNumUnitsByArea);

Code

483//int countNumUnitsByArea(CvArea* pArea);484int CvLuaTeam::lCountNumUnitsByArea(lua_State* L)485{486	return BasicLuaMethod(L, &CvTeam::countNumUnitsByArea);487}

Calls

Called by