Hooks
static bool BeforeCvDllDeal_GetOtherPlayer(CvDllDeal* self, PlayerTypes eFromPlayer, PlayerTypes& result);static void AfterCvDllDeal_GetOtherPlayer(CvDllDeal* self, PlayerTypes eFromPlayer, PlayerTypes& result);static PlayerTypes ReplaceCvDllDeal_GetOtherPlayer(PlayerTypes (*original)(CvDllDeal*, PlayerTypes), CvDllDeal* self, PlayerTypes eFromPlayer);// CivHooks.h gives this hook point no types, so nothing checks these hooks' parameters.host->RegisterHook(host->pluginIndex, CivHooks::CvDllDeal_GetOtherPlayer::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllDeal_GetOtherPlayer);host->RegisterHook(host->pluginIndex, CivHooks::CvDllDeal_GetOtherPlayer::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllDeal_GetOtherPlayer);host->RegisterHook(host->pluginIndex, CivHooks::CvDllDeal_GetOtherPlayer::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllDeal_GetOtherPlayer);