Bazaar developer reference

CvTechEntry::IsPermanentAllianceTrading() const

Defined in
CvTechClasses.cpp, line 454
Class
CvTechEntry
Hook name
CivHooks::CvTechEntry_IsPermanentAllianceTrading

Hooks

static bool BeforeCvTechEntry_IsPermanentAllianceTrading(const CvTechEntry* self, bool& result);static void AfterCvTechEntry_IsPermanentAllianceTrading(const CvTechEntry* self, bool& result);static bool ReplaceCvTechEntry_IsPermanentAllianceTrading(bool (*original)(const CvTechEntry*), const CvTechEntry* self);CivRegisterBefore<CivHooks::CvTechEntry_IsPermanentAllianceTrading>(host, &BeforeCvTechEntry_IsPermanentAllianceTrading);CivRegisterAfter<CivHooks::CvTechEntry_IsPermanentAllianceTrading>(host, &AfterCvTechEntry_IsPermanentAllianceTrading);CivRegisterReplace<CivHooks::CvTechEntry_IsPermanentAllianceTrading>(host, &ReplaceCvTechEntry_IsPermanentAllianceTrading);

Code

453/// Can you form a permanent alliance?454bool CvTechEntry::IsPermanentAllianceTrading() const455{456	return m_bPermanentAllianceTrading;457}

Called by