Hooks
static bool BeforeCvDllPreGame_setLeaderHead(CvDllPreGame* self, PlayerTypes p, LeaderHeadTypes l);static void AfterCvDllPreGame_setLeaderHead(CvDllPreGame* self, PlayerTypes p, LeaderHeadTypes l);static void ReplaceCvDllPreGame_setLeaderHead(void (*original)(CvDllPreGame*, PlayerTypes, LeaderHeadTypes), CvDllPreGame* self, PlayerTypes p, LeaderHeadTypes l);// CivHooks.h gives this hook point no types, so nothing checks these hooks' parameters.host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_setLeaderHead::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllPreGame_setLeaderHead);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_setLeaderHead::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllPreGame_setLeaderHead);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_setLeaderHead::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllPreGame_setLeaderHead);