Bazaar developer reference

CvDllGameContext::GetPlotDirectionY()

Defined in
CvDllContext.cpp, line 855
Class
CvDllGameContext
Hook name
CivHooks::CvDllGameContext_GetPlotDirectionY

Hooks

static bool BeforeCvDllGameContext_GetPlotDirectionY(CvDllGameContext* self, int*& result);static void AfterCvDllGameContext_GetPlotDirectionY(CvDllGameContext* self, int*& result);static int* ReplaceCvDllGameContext_GetPlotDirectionY(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_GetPlotDirectionY::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllGameContext_GetPlotDirectionY);host->RegisterHook(host->pluginIndex, CivHooks::CvDllGameContext_GetPlotDirectionY::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllGameContext_GetPlotDirectionY);host->RegisterHook(host->pluginIndex, CivHooks::CvDllGameContext_GetPlotDirectionY::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllGameContext_GetPlotDirectionY);

Code

855int* CvDllGameContext::GetPlotDirectionY()856{857	return GC.getPlotDirectionY();858}

Calls