Bazaar developer reference

CvTechEntry::SetSoundMP(const char *)

Defined in
CvTechClasses.cpp, line 525
Class
CvTechEntry
Hook name
CivHooks::CvTechEntry_SetSoundMP

Hooks

static bool BeforeCvTechEntry_SetSoundMP(CvTechEntry* self, const char* szVal);static void AfterCvTechEntry_SetSoundMP(CvTechEntry* self, const char* szVal);static void ReplaceCvTechEntry_SetSoundMP(void (*original)(CvTechEntry*, const char*), CvTechEntry* self, const char* szVal);CivRegisterBefore<CivHooks::CvTechEntry_SetSoundMP>(host, &BeforeCvTechEntry_SetSoundMP);CivRegisterAfter<CivHooks::CvTechEntry_SetSoundMP>(host, &AfterCvTechEntry_SetSoundMP);CivRegisterReplace<CivHooks::CvTechEntry_SetSoundMP>(host, &ReplaceCvTechEntry_SetSoundMP);

Code

524/// Set sound effect related to tech (team)525void CvTechEntry::SetSoundMP(const char* szVal)526{527	m_strSoundMP = szVal;528}

Calls

Called by