Hooks
static bool BeforeCvDllPlayer_GetLeaderTypeKey(const CvDllPlayer* self, const char*& result);static void AfterCvDllPlayer_GetLeaderTypeKey(const CvDllPlayer* self, const char*& result);static const char* ReplaceCvDllPlayer_GetLeaderTypeKey(const char* (*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_GetLeaderTypeKey::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllPlayer_GetLeaderTypeKey);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPlayer_GetLeaderTypeKey::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllPlayer_GetLeaderTypeKey);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPlayer_GetLeaderTypeKey::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllPlayer_GetLeaderTypeKey);