Hooks
static bool BeforeCvDllPlayer_GetLeaderType(const CvDllPlayer* self, LeaderHeadTypes& result);static void AfterCvDllPlayer_GetLeaderType(const CvDllPlayer* self, LeaderHeadTypes& result);static LeaderHeadTypes ReplaceCvDllPlayer_GetLeaderType(LeaderHeadTypes (*original)(const CvDllPlayer*), const CvDllPlayer* self);// CivHooks.h gives this hook point no types, so nothing checks these hooks' parameters.host->RegisterHook(host->pluginIndex, CivHooks::CvDllPlayer_GetLeaderType::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllPlayer_GetLeaderType);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPlayer_GetLeaderType::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllPlayer_GetLeaderType);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPlayer_GetLeaderType::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllPlayer_GetLeaderType);