Hooks
static bool BeforeCvPlayer_IsAllowedToTradeWith(CvPlayer* self, PlayerTypes eOtherPlayer, bool& result);static void AfterCvPlayer_IsAllowedToTradeWith(CvPlayer* self, PlayerTypes eOtherPlayer, bool& result);static bool ReplaceCvPlayer_IsAllowedToTradeWith(bool (*original)(CvPlayer*, PlayerTypes), CvPlayer* self, PlayerTypes eOtherPlayer);CivRegisterBefore<CivHooks::CvPlayer_IsAllowedToTradeWith>(host, &BeforeCvPlayer_IsAllowedToTradeWith);CivRegisterAfter<CivHooks::CvPlayer_IsAllowedToTradeWith>(host, &AfterCvPlayer_IsAllowedToTradeWith);CivRegisterReplace<CivHooks::CvPlayer_IsAllowedToTradeWith>(host, &ReplaceCvPlayer_IsAllowedToTradeWith);