Bazaar developer reference

CvGlobals::GetGamePromotions() const

Defined in
CvGlobals.cpp, line 3506
Class
CvGlobals
Hook name
CivHooks::CvGlobals_GetGamePromotions

Hooks

static bool BeforeCvGlobals_GetGamePromotions(const CvGlobals* self, CvPromotionXMLEntries*& result);static void AfterCvGlobals_GetGamePromotions(const CvGlobals* self, CvPromotionXMLEntries*& result);static CvPromotionXMLEntries* ReplaceCvGlobals_GetGamePromotions(CvPromotionXMLEntries* (*original)(const CvGlobals*), const CvGlobals* self);CivRegisterBefore<CivHooks::CvGlobals_GetGamePromotions>(host, &BeforeCvGlobals_GetGamePromotions);CivRegisterAfter<CivHooks::CvGlobals_GetGamePromotions>(host, &AfterCvGlobals_GetGamePromotions);CivRegisterReplace<CivHooks::CvGlobals_GetGamePromotions>(host, &ReplaceCvGlobals_GetGamePromotions);

Code

3506CvPromotionXMLEntries* CvGlobals::GetGamePromotions() const3507{3508	return m_pPromotions;3509}

Called by