Bazaar developer reference

CvTechEntry::SetSound(const char *)

Defined in
CvTechClasses.cpp, line 513
Class
CvTechEntry
Hook name
CivHooks::CvTechEntry_SetSound

Hooks

static bool BeforeCvTechEntry_SetSound(CvTechEntry* self, const char* szVal);static void AfterCvTechEntry_SetSound(CvTechEntry* self, const char* szVal);static void ReplaceCvTechEntry_SetSound(void (*original)(CvTechEntry*, const char*), CvTechEntry* self, const char* szVal);CivRegisterBefore<CivHooks::CvTechEntry_SetSound>(host, &BeforeCvTechEntry_SetSound);CivRegisterAfter<CivHooks::CvTechEntry_SetSound>(host, &AfterCvTechEntry_SetSound);CivRegisterReplace<CivHooks::CvTechEntry_SetSound>(host, &ReplaceCvTechEntry_SetSound);

Code

512/// Set sound effect related to tech513void CvTechEntry::SetSound(const char* szVal)514{515	m_strSound = szVal;516}

Calls

Called by