Hooks
static bool BeforeCvDllPreGame_isWhiteFlag(CvDllPreGame* self, PlayerTypes p, bool& result);static void AfterCvDllPreGame_isWhiteFlag(CvDllPreGame* self, PlayerTypes p, bool& result);static bool ReplaceCvDllPreGame_isWhiteFlag(bool (*original)(CvDllPreGame*, PlayerTypes), CvDllPreGame* self, PlayerTypes p);// CivHooks.h gives this hook point no types, so nothing checks these hooks' parameters.host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_isWhiteFlag::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllPreGame_isWhiteFlag);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_isWhiteFlag::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllPreGame_isWhiteFlag);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_isWhiteFlag::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllPreGame_isWhiteFlag);