Bazaar developer reference

CvLuaTeam::lGetBuildingClassCount(lua_State *)

Defined in
Lua/CvLuaTeam.cpp, line 1210
Class
CvLuaTeam
Hook name
CivHooks::CvLuaTeam_lGetBuildingClassCount

Hooks

static bool BeforeCvLuaTeam_lGetBuildingClassCount(lua_State* L, int& result);static void AfterCvLuaTeam_lGetBuildingClassCount(lua_State* L, int& result);static int ReplaceCvLuaTeam_lGetBuildingClassCount(int (*original)(lua_State*), lua_State* L);CivRegisterBefore<CivHooks::CvLuaTeam_lGetBuildingClassCount>(host, &BeforeCvLuaTeam_lGetBuildingClassCount);CivRegisterAfter<CivHooks::CvLuaTeam_lGetBuildingClassCount>(host, &AfterCvLuaTeam_lGetBuildingClassCount);CivRegisterReplace<CivHooks::CvLuaTeam_lGetBuildingClassCount>(host, &ReplaceCvLuaTeam_lGetBuildingClassCount);

Code

1209//int getBuildingClassCount(BuildingClassTypes eIndex);1210int CvLuaTeam::lGetBuildingClassCount(lua_State* L)1211{1212	return BasicLuaMethod(L, &CvTeam::getBuildingClassCount);1213}

Calls

Called by