Bazaar developer reference

CvLuaTeam::lGetBorderObstacleCount(lua_State *)

Defined in
Lua/CvLuaTeam.cpp, line 955
Class
CvLuaTeam
Hook name
CivHooks::CvLuaTeam_lGetBorderObstacleCount

Hooks

static bool BeforeCvLuaTeam_lGetBorderObstacleCount(lua_State* L, int& result);static void AfterCvLuaTeam_lGetBorderObstacleCount(lua_State* L, int& result);static int ReplaceCvLuaTeam_lGetBorderObstacleCount(int (*original)(lua_State*), lua_State* L);CivRegisterBefore<CivHooks::CvLuaTeam_lGetBorderObstacleCount>(host, &BeforeCvLuaTeam_lGetBorderObstacleCount);CivRegisterAfter<CivHooks::CvLuaTeam_lGetBorderObstacleCount>(host, &AfterCvLuaTeam_lGetBorderObstacleCount);CivRegisterReplace<CivHooks::CvLuaTeam_lGetBorderObstacleCount>(host, &ReplaceCvLuaTeam_lGetBorderObstacleCount);

Code

954//int getBorderObstacleCount();955int CvLuaTeam::lGetBorderObstacleCount(lua_State* L)956{957	return BasicLuaMethod(L, &CvTeam::getBorderObstacleCount);958}

Calls

Called by