aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.Client/Common/DLC/DLCAudioFile.h
diff options
context:
space:
mode:
authorqwasdrizzel <145519042+qwasdrizzel@users.noreply.github.com>2026-03-16 21:44:26 -0500
committerGitHub <noreply@github.com>2026-03-16 21:44:26 -0500
commitce739f6045ec72127491286ea3f3f21e537c1b55 (patch)
treef33bd42a47c1b4a7b2153a7fb77127ee3b407db9 /Minecraft.Client/Common/DLC/DLCAudioFile.h
parent255a18fe8e9b57377975f82e2b227afe2a12eda0 (diff)
parent5a59f5d146b43811dde6a5a0245ee9875d7b5cd1 (diff)
Merge branch 'smartcmd:main' into main
Diffstat (limited to 'Minecraft.Client/Common/DLC/DLCAudioFile.h')
-rw-r--r--Minecraft.Client/Common/DLC/DLCAudioFile.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/Minecraft.Client/Common/DLC/DLCAudioFile.h b/Minecraft.Client/Common/DLC/DLCAudioFile.h
index 728512d7..50131785 100644
--- a/Minecraft.Client/Common/DLC/DLCAudioFile.h
+++ b/Minecraft.Client/Common/DLC/DLCAudioFile.h
@@ -28,15 +28,15 @@ public:
e_AudioParamType_Max,
};
- static WCHAR *wchTypeNamesA[e_AudioParamType_Max];
+ static const WCHAR *wchTypeNamesA[e_AudioParamType_Max];
DLCAudioFile(const wstring &path);
- virtual void addData(PBYTE pbData, DWORD dwBytes);
- virtual PBYTE getData(DWORD &dwBytes);
+ void addData(PBYTE pbData, DWORD dwBytes) override;
+ PBYTE getData(DWORD &dwBytes) override;
bool processDLCDataFile(PBYTE pbData, DWORD dwLength);
- int GetCountofType(DLCAudioFile::EAudioType ptype);
+ int GetCountofType(EAudioType ptype);
wstring &GetSoundName(int iIndex);
private:
@@ -49,6 +49,6 @@ private:
vector<wstring> m_parameters[e_AudioType_Max];
// use the EAudioType to order these
- void addParameter(DLCAudioFile::EAudioType type, DLCAudioFile::EAudioParameterType ptype, const wstring &value);
- DLCAudioFile::EAudioParameterType getParameterType(const wstring &paramName);
+ void addParameter(EAudioType type, EAudioParameterType ptype, const wstring &value);
+ EAudioParameterType getParameterType(const wstring &paramName);
};