Bazaar developer reference

CvTraitEntry::IsFasterAlongRiver() const

Defined in
CvTraitClasses.cpp, line 666
Class
CvTraitEntry
Hook name
CivHooks::CvTraitEntry_IsFasterAlongRiver

Hooks

static bool BeforeCvTraitEntry_IsFasterAlongRiver(const CvTraitEntry* self, bool& result);static void AfterCvTraitEntry_IsFasterAlongRiver(const CvTraitEntry* self, bool& result);static bool ReplaceCvTraitEntry_IsFasterAlongRiver(bool (*original)(const CvTraitEntry*), const CvTraitEntry* self);CivRegisterBefore<CivHooks::CvTraitEntry_IsFasterAlongRiver>(host, &BeforeCvTraitEntry_IsFasterAlongRiver);CivRegisterAfter<CivHooks::CvTraitEntry_IsFasterAlongRiver>(host, &AfterCvTraitEntry_IsFasterAlongRiver);CivRegisterReplace<CivHooks::CvTraitEntry_IsFasterAlongRiver>(host, &ReplaceCvTraitEntry_IsFasterAlongRiver);

Code

665/// Accessor:: does this civ move along rivers like a Scout?666bool CvTraitEntry::IsFasterAlongRiver() const667{668	return m_bFasterAlongRiver;669}

Called by