Hooks
static bool BeforeCvDllPreGame_setPlayerColor(CvDllPreGame* self, PlayerTypes p, PlayerColorTypes c);static void AfterCvDllPreGame_setPlayerColor(CvDllPreGame* self, PlayerTypes p, PlayerColorTypes c);static void ReplaceCvDllPreGame_setPlayerColor(void (*original)(CvDllPreGame*, PlayerTypes, PlayerColorTypes), CvDllPreGame* self, PlayerTypes p, PlayerColorTypes c);// CivHooks.h gives this hook point no types, so nothing checks these hooks' parameters.host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_setPlayerColor::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllPreGame_setPlayerColor);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_setPlayerColor::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllPreGame_setPlayerColor);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_setPlayerColor::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllPreGame_setPlayerColor);