Bazaar developer reference

CvTechEntry::IsEmbarkedAllWaterPassage() const

Defined in
CvTechClasses.cpp, line 340
Class
CvTechEntry
Hook name
CivHooks::CvTechEntry_IsEmbarkedAllWaterPassage

Hooks

static bool BeforeCvTechEntry_IsEmbarkedAllWaterPassage(const CvTechEntry* self, bool& result);static void AfterCvTechEntry_IsEmbarkedAllWaterPassage(const CvTechEntry* self, bool& result);static bool ReplaceCvTechEntry_IsEmbarkedAllWaterPassage(bool (*original)(const CvTechEntry*), const CvTechEntry* self);CivRegisterBefore<CivHooks::CvTechEntry_IsEmbarkedAllWaterPassage>(host, &BeforeCvTechEntry_IsEmbarkedAllWaterPassage);CivRegisterAfter<CivHooks::CvTechEntry_IsEmbarkedAllWaterPassage>(host, &AfterCvTechEntry_IsEmbarkedAllWaterPassage);CivRegisterReplace<CivHooks::CvTechEntry_IsEmbarkedAllWaterPassage>(host, &ReplaceCvTechEntry_IsEmbarkedAllWaterPassage);

Code

339/// Allows embarked Units to enter deep ocean340bool CvTechEntry::IsEmbarkedAllWaterPassage() const341{342	return m_bEmbarkedAllWaterPassage;343}

Called by