Bazaar developer reference

CvPromotionEntry::GetSound() const

Defined in
CvPromotionClasses.cpp, line 1758
Class
CvPromotionEntry
Hook name
CivHooks::CvPromotionEntry_GetSound

Hooks

static bool BeforeCvPromotionEntry_GetSound(const CvPromotionEntry* self, const char*& result);static void AfterCvPromotionEntry_GetSound(const CvPromotionEntry* self, const char*& result);static const char* ReplaceCvPromotionEntry_GetSound(const char* (*original)(const CvPromotionEntry*), const CvPromotionEntry* self);CivRegisterBefore<CivHooks::CvPromotionEntry_GetSound>(host, &BeforeCvPromotionEntry_GetSound);CivRegisterAfter<CivHooks::CvPromotionEntry_GetSound>(host, &AfterCvPromotionEntry_GetSound);CivRegisterReplace<CivHooks::CvPromotionEntry_GetSound>(host, &ReplaceCvPromotionEntry_GetSound);

Code

1757/// Accessor: Sound to play when the promotion is gained1758const char* CvPromotionEntry::GetSound() const1759{1760	return m_strSound;1761}

Calls