Hooks
static bool BeforeCvDllPreGame_netID(CvDllPreGame* self, PlayerTypes p, int& result);static void AfterCvDllPreGame_netID(CvDllPreGame* self, PlayerTypes p, int& result);static int ReplaceCvDllPreGame_netID(int (*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_netID::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllPreGame_netID);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_netID::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllPreGame_netID);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_netID::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllPreGame_netID);