Bazaar developer reference

CvLuaTeam::lChangeBorderObstacleCount(lua_State *)

Defined in
Lua/CvLuaTeam.cpp, line 969
Class
CvLuaTeam
Hook name
CivHooks::CvLuaTeam_lChangeBorderObstacleCount

Hooks

static bool BeforeCvLuaTeam_lChangeBorderObstacleCount(lua_State* L, int& result);static void AfterCvLuaTeam_lChangeBorderObstacleCount(lua_State* L, int& result);static int ReplaceCvLuaTeam_lChangeBorderObstacleCount(int (*original)(lua_State*), lua_State* L);CivRegisterBefore<CivHooks::CvLuaTeam_lChangeBorderObstacleCount>(host, &BeforeCvLuaTeam_lChangeBorderObstacleCount);CivRegisterAfter<CivHooks::CvLuaTeam_lChangeBorderObstacleCount>(host, &AfterCvLuaTeam_lChangeBorderObstacleCount);CivRegisterReplace<CivHooks::CvLuaTeam_lChangeBorderObstacleCount>(host, &ReplaceCvLuaTeam_lChangeBorderObstacleCount);

Code

968//void changeBorderObstacleCount(int iChange);969int CvLuaTeam::lChangeBorderObstacleCount(lua_State* L)970{971	return BasicLuaMethod(L, &CvTeam::changeBorderObstacleCount);972}

Calls

Called by