Hooks
static bool BeforeCvLuaTeam_lGetPermanentAllianceTradingCount(lua_State* L, int& result);static void AfterCvLuaTeam_lGetPermanentAllianceTradingCount(lua_State* L, int& result);static int ReplaceCvLuaTeam_lGetPermanentAllianceTradingCount(int (*original)(lua_State*), lua_State* L);CivRegisterBefore<CivHooks::CvLuaTeam_lGetPermanentAllianceTradingCount>(host, &BeforeCvLuaTeam_lGetPermanentAllianceTradingCount);CivRegisterAfter<CivHooks::CvLuaTeam_lGetPermanentAllianceTradingCount>(host, &AfterCvLuaTeam_lGetPermanentAllianceTradingCount);CivRegisterReplace<CivHooks::CvLuaTeam_lGetPermanentAllianceTradingCount>(host, &ReplaceCvLuaTeam_lGetPermanentAllianceTradingCount);