Bazaar developer reference

CvLuaTeam::lGetProjectCount(lua_State *)

Defined in
Lua/CvLuaTeam.cpp, line 1133
Class
CvLuaTeam
Hook name
CivHooks::CvLuaTeam_lGetProjectCount

Hooks

static bool BeforeCvLuaTeam_lGetProjectCount(lua_State* L, int& result);static void AfterCvLuaTeam_lGetProjectCount(lua_State* L, int& result);static int ReplaceCvLuaTeam_lGetProjectCount(int (*original)(lua_State*), lua_State* L);CivRegisterBefore<CivHooks::CvLuaTeam_lGetProjectCount>(host, &BeforeCvLuaTeam_lGetProjectCount);CivRegisterAfter<CivHooks::CvLuaTeam_lGetProjectCount>(host, &AfterCvLuaTeam_lGetProjectCount);CivRegisterReplace<CivHooks::CvLuaTeam_lGetProjectCount>(host, &ReplaceCvLuaTeam_lGetProjectCount);

Code

1132//int getProjectCount(ProjectTypes eIndex);1133int CvLuaTeam::lGetProjectCount(lua_State* L)1134{1135	return BasicLuaMethod(L, &CvTeam::getProjectCount);1136}

Calls

Called by