Bazaar developer reference

CvTechEntry::IsAllowsEmbarking() const

Defined in
CvTechClasses.cpp, line 328
Class
CvTechEntry
Hook name
CivHooks::CvTechEntry_IsAllowsEmbarking

Hooks

static bool BeforeCvTechEntry_IsAllowsEmbarking(const CvTechEntry* self, bool& result);static void AfterCvTechEntry_IsAllowsEmbarking(const CvTechEntry* self, bool& result);static bool ReplaceCvTechEntry_IsAllowsEmbarking(bool (*original)(const CvTechEntry*), const CvTechEntry* self);CivRegisterBefore<CivHooks::CvTechEntry_IsAllowsEmbarking>(host, &BeforeCvTechEntry_IsAllowsEmbarking);CivRegisterAfter<CivHooks::CvTechEntry_IsAllowsEmbarking>(host, &AfterCvTechEntry_IsAllowsEmbarking);CivRegisterReplace<CivHooks::CvTechEntry_IsAllowsEmbarking>(host, &ReplaceCvTechEntry_IsAllowsEmbarking);

Code

327/// Unlocks the ability to embark land Units onto self-carried boats328bool CvTechEntry::IsAllowsEmbarking() const329{330	return m_bAllowsEmbarking;331}

Called by