Bazaar developer reference

CvDllFeatureInfo::GetWorldSoundscapeScriptId()

Defined in
CvDllFeatureInfo.cpp, line 125
Class
CvDllFeatureInfo
Hook name
CivHooks::CvDllFeatureInfo_GetWorldSoundscapeScriptId

Hooks

static bool BeforeCvDllFeatureInfo_GetWorldSoundscapeScriptId(CvDllFeatureInfo* self, int& result);static void AfterCvDllFeatureInfo_GetWorldSoundscapeScriptId(CvDllFeatureInfo* self, int& result);static int ReplaceCvDllFeatureInfo_GetWorldSoundscapeScriptId(int (*original)(CvDllFeatureInfo*), CvDllFeatureInfo* self);// CivHooks.h gives this hook point no types, so nothing checks these hooks' parameters.host->RegisterHook(host->pluginIndex, CivHooks::CvDllFeatureInfo_GetWorldSoundscapeScriptId::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllFeatureInfo_GetWorldSoundscapeScriptId);host->RegisterHook(host->pluginIndex, CivHooks::CvDllFeatureInfo_GetWorldSoundscapeScriptId::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllFeatureInfo_GetWorldSoundscapeScriptId);host->RegisterHook(host->pluginIndex, CivHooks::CvDllFeatureInfo_GetWorldSoundscapeScriptId::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllFeatureInfo_GetWorldSoundscapeScriptId);

Code

125int CvDllFeatureInfo::GetWorldSoundscapeScriptId()126{127	return m_pFeatureInfo->getWorldSoundscapeScriptId();128}

Calls