Bazaar developer reference

CvPromotionEntry::IsAmphib() const

Defined in
CvPromotionClasses.cpp, line 1442
Class
CvPromotionEntry
Hook name
CivHooks::CvPromotionEntry_IsAmphib

Hooks

static bool BeforeCvPromotionEntry_IsAmphib(const CvPromotionEntry* self, bool& result);static void AfterCvPromotionEntry_IsAmphib(const CvPromotionEntry* self, bool& result);static bool ReplaceCvPromotionEntry_IsAmphib(bool (*original)(const CvPromotionEntry*), const CvPromotionEntry* self);CivRegisterBefore<CivHooks::CvPromotionEntry_IsAmphib>(host, &BeforeCvPromotionEntry_IsAmphib);CivRegisterAfter<CivHooks::CvPromotionEntry_IsAmphib>(host, &AfterCvPromotionEntry_IsAmphib);CivRegisterReplace<CivHooks::CvPromotionEntry_IsAmphib>(host, &ReplaceCvPromotionEntry_IsAmphib);

Code

1441/// Accessor: Can this unit attack from the sea without penalty?1442bool CvPromotionEntry::IsAmphib() const1443{1444	return m_bAmphib;1445}

Called by