Hooks
static bool BeforeCvDllGameContext_CreateNetLoadGameInfo(CvDllGameContext* self, unsigned int& result);static void AfterCvDllGameContext_CreateNetLoadGameInfo(CvDllGameContext* self, unsigned int& result);static unsigned int ReplaceCvDllGameContext_CreateNetLoadGameInfo(unsigned int (*original)(CvDllGameContext*), CvDllGameContext* self);// CivHooks.h gives this hook point no types, so nothing checks these hooks' parameters.host->RegisterHook(host->pluginIndex, CivHooks::CvDllGameContext_CreateNetLoadGameInfo::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllGameContext_CreateNetLoadGameInfo);host->RegisterHook(host->pluginIndex, CivHooks::CvDllGameContext_CreateNetLoadGameInfo::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllGameContext_CreateNetLoadGameInfo);host->RegisterHook(host->pluginIndex, CivHooks::CvDllGameContext_CreateNetLoadGameInfo::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllGameContext_CreateNetLoadGameInfo);