Bazaar developer reference

CvPromotionEntry::CanCrossIce() const

Defined in
CvPromotionClasses.cpp, line 1561
Class
CvPromotionEntry
Hook name
CivHooks::CvPromotionEntry_CanCrossIce

Hooks

static bool BeforeCvPromotionEntry_CanCrossIce(const CvPromotionEntry* self, bool& result);static void AfterCvPromotionEntry_CanCrossIce(const CvPromotionEntry* self, bool& result);static bool ReplaceCvPromotionEntry_CanCrossIce(bool (*original)(const CvPromotionEntry*), const CvPromotionEntry* self);CivRegisterBefore<CivHooks::CvPromotionEntry_CanCrossIce>(host, &BeforeCvPromotionEntry_CanCrossIce);CivRegisterAfter<CivHooks::CvPromotionEntry_CanCrossIce>(host, &AfterCvPromotionEntry_CanCrossIce);CivRegisterReplace<CivHooks::CvPromotionEntry_CanCrossIce>(host, &ReplaceCvPromotionEntry_CanCrossIce);

Code

1559#if defined(MOD_PROMOTIONS_CROSS_ICE)1560/// Accessor: Can cross ice (with what? Fire?)1561bool CvPromotionEntry::CanCrossIce() const1562{1563	return m_bCanCrossIce;1564}

Called by