Hooks
static bool BeforeCvLuaTeam_lGetObsoleteBuildingCount(lua_State* L, int& result);static void AfterCvLuaTeam_lGetObsoleteBuildingCount(lua_State* L, int& result);static int ReplaceCvLuaTeam_lGetObsoleteBuildingCount(int (*original)(lua_State*), lua_State* L);CivRegisterBefore<CivHooks::CvLuaTeam_lGetObsoleteBuildingCount>(host, &BeforeCvLuaTeam_lGetObsoleteBuildingCount);CivRegisterAfter<CivHooks::CvLuaTeam_lGetObsoleteBuildingCount>(host, &AfterCvLuaTeam_lGetObsoleteBuildingCount);CivRegisterReplace<CivHooks::CvLuaTeam_lGetObsoleteBuildingCount>(host, &ReplaceCvLuaTeam_lGetObsoleteBuildingCount);