Bazaar developer reference

CvDllGameContext::SetRandLogging(int)

Defined in
CvDllContext.cpp, line 760
Class
CvDllGameContext
Hook name
CivHooks::CvDllGameContext_SetRandLogging

Hooks

static bool BeforeCvDllGameContext_SetRandLogging(CvDllGameContext* self, int iRandLoggingFlags);static void AfterCvDllGameContext_SetRandLogging(CvDllGameContext* self, int iRandLoggingFlags);static void ReplaceCvDllGameContext_SetRandLogging(void (*original)(CvDllGameContext*, int), CvDllGameContext* self, int iRandLoggingFlags);// CivHooks.h gives this hook point no types, so nothing checks these hooks' parameters.host->RegisterHook(host->pluginIndex, CivHooks::CvDllGameContext_SetRandLogging::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllGameContext_SetRandLogging);host->RegisterHook(host->pluginIndex, CivHooks::CvDllGameContext_SetRandLogging::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllGameContext_SetRandLogging);host->RegisterHook(host->pluginIndex, CivHooks::CvDllGameContext_SetRandLogging::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllGameContext_SetRandLogging);

Code

760void CvDllGameContext::SetRandLogging(int iRandLoggingFlags)761{762	GC.setRandLogging(iRandLoggingFlags);763}

Calls