Bazaar developer reference

CvDllGameContext::GetRandLogging()

Defined in
CvDllContext.cpp, line 755
Class
CvDllGameContext
Hook name
CivHooks::CvDllGameContext_GetRandLogging

Hooks

static bool BeforeCvDllGameContext_GetRandLogging(CvDllGameContext* self, int& result);static void AfterCvDllGameContext_GetRandLogging(CvDllGameContext* self, int& result);static int ReplaceCvDllGameContext_GetRandLogging(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_GetRandLogging::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllGameContext_GetRandLogging);host->RegisterHook(host->pluginIndex, CivHooks::CvDllGameContext_GetRandLogging::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllGameContext_GetRandLogging);host->RegisterHook(host->pluginIndex, CivHooks::CvDllGameContext_GetRandLogging::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllGameContext_GetRandLogging);

Code

755int CvDllGameContext::GetRandLogging()756{757	return GC.getRandLogging();758}

Calls