Hooks
static bool BeforeCvDllTeam_GetLeaderID(const CvDllTeam* self, PlayerTypes& result);static void AfterCvDllTeam_GetLeaderID(const CvDllTeam* self, PlayerTypes& result);static PlayerTypes ReplaceCvDllTeam_GetLeaderID(PlayerTypes (*original)(const CvDllTeam*), const CvDllTeam* self);// CivHooks.h gives this hook point no types, so nothing checks these hooks' parameters.host->RegisterHook(host->pluginIndex, CivHooks::CvDllTeam_GetLeaderID::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllTeam_GetLeaderID);host->RegisterHook(host->pluginIndex, CivHooks::CvDllTeam_GetLeaderID::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllTeam_GetLeaderID);host->RegisterHook(host->pluginIndex, CivHooks::CvDllTeam_GetLeaderID::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllTeam_GetLeaderID);