Hooks
static bool BeforeCvDllPreGame_setNetID(CvDllPreGame* self, PlayerTypes p, int id);static void AfterCvDllPreGame_setNetID(CvDllPreGame* self, PlayerTypes p, int id);static void ReplaceCvDllPreGame_setNetID(void (*original)(CvDllPreGame*, PlayerTypes, int), CvDllPreGame* self, PlayerTypes p, int id);// CivHooks.h gives this hook point no types, so nothing checks these hooks' parameters.host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_setNetID::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllPreGame_setNetID);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_setNetID::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllPreGame_setNetID);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_setNetID::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllPreGame_setNetID);