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);