Bazaar developer reference

CvImprovementEntry::IsDestroyedWhenPillaged() const

Defined in
CvImprovementClasses.cpp, line 840
Class
CvImprovementEntry
Hook name
CivHooks::CvImprovementEntry_IsDestroyedWhenPillaged

Hooks

static bool BeforeCvImprovementEntry_IsDestroyedWhenPillaged(const CvImprovementEntry* self, bool& result);static void AfterCvImprovementEntry_IsDestroyedWhenPillaged(const CvImprovementEntry* self, bool& result);static bool ReplaceCvImprovementEntry_IsDestroyedWhenPillaged(bool (*original)(const CvImprovementEntry*), const CvImprovementEntry* self);CivRegisterBefore<CivHooks::CvImprovementEntry_IsDestroyedWhenPillaged>(host, &BeforeCvImprovementEntry_IsDestroyedWhenPillaged);CivRegisterAfter<CivHooks::CvImprovementEntry_IsDestroyedWhenPillaged>(host, &AfterCvImprovementEntry_IsDestroyedWhenPillaged);CivRegisterReplace<CivHooks::CvImprovementEntry_IsDestroyedWhenPillaged>(host, &ReplaceCvImprovementEntry_IsDestroyedWhenPillaged);

Code

839/// Is this a destroyed rather than pillaged?840bool CvImprovementEntry::IsDestroyedWhenPillaged() const841{842	return m_bDestroyedWhenPillaged;843}

Called by