Bazaar developer reference

CvPromotionEntry::IsAllowsEmbarkation() const

Defined in
CvPromotionClasses.cpp, line 1666
Class
CvPromotionEntry
Hook name
CivHooks::CvPromotionEntry_IsAllowsEmbarkation

Hooks

static bool BeforeCvPromotionEntry_IsAllowsEmbarkation(const CvPromotionEntry* self, bool& result);static void AfterCvPromotionEntry_IsAllowsEmbarkation(const CvPromotionEntry* self, bool& result);static bool ReplaceCvPromotionEntry_IsAllowsEmbarkation(bool (*original)(const CvPromotionEntry*), const CvPromotionEntry* self);CivRegisterBefore<CivHooks::CvPromotionEntry_IsAllowsEmbarkation>(host, &BeforeCvPromotionEntry_IsAllowsEmbarkation);CivRegisterAfter<CivHooks::CvPromotionEntry_IsAllowsEmbarkation>(host, &AfterCvPromotionEntry_IsAllowsEmbarkation);CivRegisterReplace<CivHooks::CvPromotionEntry_IsAllowsEmbarkation>(host, &ReplaceCvPromotionEntry_IsAllowsEmbarkation);

Code

1665/// Accessor: Can this unit embark?1666bool CvPromotionEntry::IsAllowsEmbarkation() const1667{1668	return m_bAllowsEmbarkation;1669}

Called by