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