Bazaar developer reference

CvImprovementEntry::GetTilesPerGoody() const

Defined in
CvImprovementClasses.cpp, line 604
Class
CvImprovementEntry
Hook name
CivHooks::CvImprovementEntry_GetTilesPerGoody

Hooks

static bool BeforeCvImprovementEntry_GetTilesPerGoody(const CvImprovementEntry* self, int& result);static void AfterCvImprovementEntry_GetTilesPerGoody(const CvImprovementEntry* self, int& result);static int ReplaceCvImprovementEntry_GetTilesPerGoody(int (*original)(const CvImprovementEntry*), const CvImprovementEntry* self);CivRegisterBefore<CivHooks::CvImprovementEntry_GetTilesPerGoody>(host, &BeforeCvImprovementEntry_GetTilesPerGoody);CivRegisterAfter<CivHooks::CvImprovementEntry_GetTilesPerGoody>(host, &AfterCvImprovementEntry_GetTilesPerGoody);CivRegisterReplace<CivHooks::CvImprovementEntry_GetTilesPerGoody>(host, &ReplaceCvImprovementEntry_GetTilesPerGoody);

Code

603/// The number of tiles in an area needed for a goody hut to be placed by the map generator604int CvImprovementEntry::GetTilesPerGoody() const605{606	return m_iTilesPerGoody;607}