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