Bazaar developer reference

CvDllFeatureInfo::IsNoAdjacent()

Defined in
CvDllFeatureInfo.cpp, line 100
Class
CvDllFeatureInfo
Hook name
CivHooks::CvDllFeatureInfo_IsNoAdjacent

Hooks

static bool BeforeCvDllFeatureInfo_IsNoAdjacent(CvDllFeatureInfo* self, bool& result);static void AfterCvDllFeatureInfo_IsNoAdjacent(CvDllFeatureInfo* self, bool& result);static bool ReplaceCvDllFeatureInfo_IsNoAdjacent(bool (*original)(CvDllFeatureInfo*), CvDllFeatureInfo* self);// CivHooks.h gives this hook point no types, so nothing checks these hooks' parameters.host->RegisterHook(host->pluginIndex, CivHooks::CvDllFeatureInfo_IsNoAdjacent::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllFeatureInfo_IsNoAdjacent);host->RegisterHook(host->pluginIndex, CivHooks::CvDllFeatureInfo_IsNoAdjacent::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllFeatureInfo_IsNoAdjacent);host->RegisterHook(host->pluginIndex, CivHooks::CvDllFeatureInfo_IsNoAdjacent::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllFeatureInfo_IsNoAdjacent);

Code

100bool CvDllFeatureInfo::IsNoAdjacent()101{102	return m_pFeatureInfo->isNoAdjacent();103}

Calls