Hooks
static bool BeforeCvDllDealAI_GetPlayer(CvDllDealAI* self, ICvPlayer1*& result);static void AfterCvDllDealAI_GetPlayer(CvDllDealAI* self, ICvPlayer1*& result);static ICvPlayer1* ReplaceCvDllDealAI_GetPlayer(ICvPlayer1* (*original)(CvDllDealAI*), CvDllDealAI* self);// CivHooks.h gives this hook point no types, so nothing checks these hooks' parameters.host->RegisterHook(host->pluginIndex, CivHooks::CvDllDealAI_GetPlayer::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllDealAI_GetPlayer);host->RegisterHook(host->pluginIndex, CivHooks::CvDllDealAI_GetPlayer::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllDealAI_GetPlayer);host->RegisterHook(host->pluginIndex, CivHooks::CvDllDealAI_GetPlayer::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllDealAI_GetPlayer);