Bazaar developer reference

CvDllTechInfo::GetSound() const

Defined in
CvDllTechInfo.cpp, line 84
Class
CvDllTechInfo
Hook name
CivHooks::CvDllTechInfo_GetSound

Hooks

static bool BeforeCvDllTechInfo_GetSound(const CvDllTechInfo* self, const char*& result);static void AfterCvDllTechInfo_GetSound(const CvDllTechInfo* self, const char*& result);static const char* ReplaceCvDllTechInfo_GetSound(const char* (*original)(const CvDllTechInfo*), const CvDllTechInfo* self);// CivHooks.h gives this hook point no types, so nothing checks these hooks' parameters.host->RegisterHook(host->pluginIndex, CivHooks::CvDllTechInfo_GetSound::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllTechInfo_GetSound);host->RegisterHook(host->pluginIndex, CivHooks::CvDllTechInfo_GetSound::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllTechInfo_GetSound);host->RegisterHook(host->pluginIndex, CivHooks::CvDllTechInfo_GetSound::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllTechInfo_GetSound);

Code

84const char* CvDllTechInfo::GetSound() const85{86	return m_pTechInfo->GetSound();87}

Calls