Bazaar developer reference

CvTechEntry::GetSoundMP() const

Defined in
CvTechClasses.cpp, line 519
Class
CvTechEntry
Hook name
CivHooks::CvTechEntry_GetSoundMP

Hooks

static bool BeforeCvTechEntry_GetSoundMP(const CvTechEntry* self, const char*& result);static void AfterCvTechEntry_GetSoundMP(const CvTechEntry* self, const char*& result);static const char* ReplaceCvTechEntry_GetSoundMP(const char* (*original)(const CvTechEntry*), const CvTechEntry* self);CivRegisterBefore<CivHooks::CvTechEntry_GetSoundMP>(host, &BeforeCvTechEntry_GetSoundMP);CivRegisterAfter<CivHooks::CvTechEntry_GetSoundMP>(host, &AfterCvTechEntry_GetSoundMP);CivRegisterReplace<CivHooks::CvTechEntry_GetSoundMP>(host, &ReplaceCvTechEntry_GetSoundMP);

Code

518/// Get sound effect related to tech (team)519const char* CvTechEntry::GetSoundMP() const520{521	return m_strSoundMP;522}

Calls

Called by