Hooks
static bool BeforeCvDllPreGame_setHandicap(CvDllPreGame* self, PlayerTypes p, HandicapTypes h);static void AfterCvDllPreGame_setHandicap(CvDllPreGame* self, PlayerTypes p, HandicapTypes h);static void ReplaceCvDllPreGame_setHandicap(void (*original)(CvDllPreGame*, PlayerTypes, HandicapTypes), CvDllPreGame* self, PlayerTypes p, HandicapTypes h);// CivHooks.h gives this hook point no types, so nothing checks these hooks' parameters.host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_setHandicap::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllPreGame_setHandicap);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_setHandicap::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllPreGame_setHandicap);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_setHandicap::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllPreGame_setHandicap);