Bazaar developer reference

CvDllBuildInfo::GetRoute()

Defined in
CvDllBuildInfo.cpp, line 90
Class
CvDllBuildInfo
Hook name
CivHooks::CvDllBuildInfo_GetRoute

Hooks

static bool BeforeCvDllBuildInfo_GetRoute(CvDllBuildInfo* self, int& result);static void AfterCvDllBuildInfo_GetRoute(CvDllBuildInfo* self, int& result);static int ReplaceCvDllBuildInfo_GetRoute(int (*original)(CvDllBuildInfo*), CvDllBuildInfo* self);// CivHooks.h gives this hook point no types, so nothing checks these hooks' parameters.host->RegisterHook(host->pluginIndex, CivHooks::CvDllBuildInfo_GetRoute::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllBuildInfo_GetRoute);host->RegisterHook(host->pluginIndex, CivHooks::CvDllBuildInfo_GetRoute::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllBuildInfo_GetRoute);host->RegisterHook(host->pluginIndex, CivHooks::CvDllBuildInfo_GetRoute::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllBuildInfo_GetRoute);

Code

90int CvDllBuildInfo::GetRoute()91{92	return m_pBuildInfo->getRoute();93}

Calls