Bazaar developer reference

CvLuaTeam::lChangeProjectCount(lua_State *)

Defined in
Lua/CvLuaTeam.cpp, line 1182
Class
CvLuaTeam
Hook name
CivHooks::CvLuaTeam_lChangeProjectCount

Hooks

static bool BeforeCvLuaTeam_lChangeProjectCount(lua_State* L, int& result);static void AfterCvLuaTeam_lChangeProjectCount(lua_State* L, int& result);static int ReplaceCvLuaTeam_lChangeProjectCount(int (*original)(lua_State*), lua_State* L);CivRegisterBefore<CivHooks::CvLuaTeam_lChangeProjectCount>(host, &BeforeCvLuaTeam_lChangeProjectCount);CivRegisterAfter<CivHooks::CvLuaTeam_lChangeProjectCount>(host, &AfterCvLuaTeam_lChangeProjectCount);CivRegisterReplace<CivHooks::CvLuaTeam_lChangeProjectCount>(host, &ReplaceCvLuaTeam_lChangeProjectCount);

Code

1181//void changeProjectCount(ProjectTypes eIndex, int iChange);1182int CvLuaTeam::lChangeProjectCount(lua_State* L)1183{1184	return BasicLuaMethod(L, &CvTeam::changeProjectCount);1185}

Calls

Called by