Bazaar developer reference

CvImprovementEntry::GetRequiresXAdjacentLand() const

Defined in
CvImprovementClasses.cpp, line 561
Class
CvImprovementEntry
Hook name
CivHooks::CvImprovementEntry_GetRequiresXAdjacentLand

Hooks

static bool BeforeCvImprovementEntry_GetRequiresXAdjacentLand(const CvImprovementEntry* self, int& result);static void AfterCvImprovementEntry_GetRequiresXAdjacentLand(const CvImprovementEntry* self, int& result);static int ReplaceCvImprovementEntry_GetRequiresXAdjacentLand(int (*original)(const CvImprovementEntry*), const CvImprovementEntry* self);CivRegisterBefore<CivHooks::CvImprovementEntry_GetRequiresXAdjacentLand>(host, &BeforeCvImprovementEntry_GetRequiresXAdjacentLand);CivRegisterAfter<CivHooks::CvImprovementEntry_GetRequiresXAdjacentLand>(host, &AfterCvImprovementEntry_GetRequiresXAdjacentLand);CivRegisterReplace<CivHooks::CvImprovementEntry_GetRequiresXAdjacentLand>(host, &ReplaceCvImprovementEntry_GetRequiresXAdjacentLand);

Code

560/// How many adjacent tiles must be land?561int CvImprovementEntry::GetRequiresXAdjacentLand() const562{563	return m_iRequiresXAdjacentLand;564}

Called by