Bazaar developer reference

CvPromotionEntry::GetDropRange() const

Defined in
CvPromotionClasses.cpp, line 1328
Class
CvPromotionEntry
Hook name
CivHooks::CvPromotionEntry_GetDropRange

Hooks

static bool BeforeCvPromotionEntry_GetDropRange(const CvPromotionEntry* self, int& result);static void AfterCvPromotionEntry_GetDropRange(const CvPromotionEntry* self, int& result);static int ReplaceCvPromotionEntry_GetDropRange(int (*original)(const CvPromotionEntry*), const CvPromotionEntry* self);CivRegisterBefore<CivHooks::CvPromotionEntry_GetDropRange>(host, &BeforeCvPromotionEntry_GetDropRange);CivRegisterAfter<CivHooks::CvPromotionEntry_GetDropRange>(host, &AfterCvPromotionEntry_GetDropRange);CivRegisterReplace<CivHooks::CvPromotionEntry_GetDropRange>(host, &ReplaceCvPromotionEntry_GetDropRange);

Code

1327/// Accessor: Number of tiles away a unit may paradrop1328int CvPromotionEntry::GetDropRange() const1329{1330	return m_iDropRange;1331}

Called by