Hooks
static bool BeforeCvDllGameContext_DestroyRandomNumberGenerator(CvDllGameContext* self, unsigned int index);static void AfterCvDllGameContext_DestroyRandomNumberGenerator(CvDllGameContext* self, unsigned int index);static void ReplaceCvDllGameContext_DestroyRandomNumberGenerator(void (*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_DestroyRandomNumberGenerator::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllGameContext_DestroyRandomNumberGenerator);host->RegisterHook(host->pluginIndex, CivHooks::CvDllGameContext_DestroyRandomNumberGenerator::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllGameContext_DestroyRandomNumberGenerator);host->RegisterHook(host->pluginIndex, CivHooks::CvDllGameContext_DestroyRandomNumberGenerator::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllGameContext_DestroyRandomNumberGenerator);