Hooks
static bool BeforeCvDllPlayer_GetDealAI(CvDllPlayer* self, ICvDealAI1*& result);static void AfterCvDllPlayer_GetDealAI(CvDllPlayer* self, ICvDealAI1*& result);static ICvDealAI1* ReplaceCvDllPlayer_GetDealAI(ICvDealAI1* (*original)(CvDllPlayer*), CvDllPlayer* self);// CivHooks.h gives this hook point no types, so nothing checks these hooks' parameters.host->RegisterHook(host->pluginIndex, CivHooks::CvDllPlayer_GetDealAI::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllPlayer_GetDealAI);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPlayer_GetDealAI::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllPlayer_GetDealAI);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPlayer_GetDealAI::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllPlayer_GetDealAI);