Bazaar developer reference

CvDllGameContext::SetAllowRClickMovementWhileScrolling(bool)

Defined in
CvDllContext.cpp, line 830
Class
CvDllGameContext
Hook name
CivHooks::CvDllGameContext_SetAllowRClickMovementWhileScrolling

Hooks

static bool BeforeCvDllGameContext_SetAllowRClickMovementWhileScrolling(CvDllGameContext* self, bool bAllow);static void AfterCvDllGameContext_SetAllowRClickMovementWhileScrolling(CvDllGameContext* self, bool bAllow);static void ReplaceCvDllGameContext_SetAllowRClickMovementWhileScrolling(void (*original)(CvDllGameContext*, bool), CvDllGameContext* self, bool bAllow);// CivHooks.h gives this hook point no types, so nothing checks these hooks' parameters.host->RegisterHook(host->pluginIndex, CivHooks::CvDllGameContext_SetAllowRClickMovementWhileScrolling::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllGameContext_SetAllowRClickMovementWhileScrolling);host->RegisterHook(host->pluginIndex, CivHooks::CvDllGameContext_SetAllowRClickMovementWhileScrolling::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllGameContext_SetAllowRClickMovementWhileScrolling);host->RegisterHook(host->pluginIndex, CivHooks::CvDllGameContext_SetAllowRClickMovementWhileScrolling::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllGameContext_SetAllowRClickMovementWhileScrolling);

Code

830void CvDllGameContext::SetAllowRClickMovementWhileScrolling(bool bAllow)831{832	GC.SetAllowRClickMovementWhileScrolling(bAllow);833}

Calls