Bazaar developer reference

CvTraitEntry::IsEmbarkedAllWater() const

Defined in
CvTraitClasses.cpp, line 678
Class
CvTraitEntry
Hook name
CivHooks::CvTraitEntry_IsEmbarkedAllWater

Hooks

static bool BeforeCvTraitEntry_IsEmbarkedAllWater(const CvTraitEntry* self, bool& result);static void AfterCvTraitEntry_IsEmbarkedAllWater(const CvTraitEntry* self, bool& result);static bool ReplaceCvTraitEntry_IsEmbarkedAllWater(bool (*original)(const CvTraitEntry*), const CvTraitEntry* self);CivRegisterBefore<CivHooks::CvTraitEntry_IsEmbarkedAllWater>(host, &BeforeCvTraitEntry_IsEmbarkedAllWater);CivRegisterAfter<CivHooks::CvTraitEntry_IsEmbarkedAllWater>(host, &AfterCvTraitEntry_IsEmbarkedAllWater);CivRegisterReplace<CivHooks::CvTraitEntry_IsEmbarkedAllWater>(host, &ReplaceCvTraitEntry_IsEmbarkedAllWater);

Code

677/// Accessor:: are our embarked units allowed to enter ocean?678bool CvTraitEntry::IsEmbarkedAllWater() const679{680	return m_bEmbarkedAllWater;681}

Called by