Hooks
static bool BeforeCvLuaTeam_lGetDefensivePactTradingAllowedCount(lua_State* L, int& result);static void AfterCvLuaTeam_lGetDefensivePactTradingAllowedCount(lua_State* L, int& result);static int ReplaceCvLuaTeam_lGetDefensivePactTradingAllowedCount(int (*original)(lua_State*), lua_State* L);CivRegisterBefore<CivHooks::CvLuaTeam_lGetDefensivePactTradingAllowedCount>(host, &BeforeCvLuaTeam_lGetDefensivePactTradingAllowedCount);CivRegisterAfter<CivHooks::CvLuaTeam_lGetDefensivePactTradingAllowedCount>(host, &AfterCvLuaTeam_lGetDefensivePactTradingAllowedCount);CivRegisterReplace<CivHooks::CvLuaTeam_lGetDefensivePactTradingAllowedCount>(host, &ReplaceCvLuaTeam_lGetDefensivePactTradingAllowedCount);