aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.Client/Common/DLC/DLCLocalisationFile.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Minecraft.Client/Common/DLC/DLCLocalisationFile.cpp')
-rw-r--r--Minecraft.Client/Common/DLC/DLCLocalisationFile.cpp14
1 files changed, 14 insertions, 0 deletions
diff --git a/Minecraft.Client/Common/DLC/DLCLocalisationFile.cpp b/Minecraft.Client/Common/DLC/DLCLocalisationFile.cpp
new file mode 100644
index 00000000..358a93e5
--- /dev/null
+++ b/Minecraft.Client/Common/DLC/DLCLocalisationFile.cpp
@@ -0,0 +1,14 @@
+#include "stdafx.h"
+#include "DLCManager.h"
+#include "DLCLocalisationFile.h"
+#include "..\..\StringTable.h"
+
+DLCLocalisationFile::DLCLocalisationFile(const wstring &path) : DLCFile(DLCManager::e_DLCType_LocalisationData,path)
+{
+ m_strings = NULL;
+}
+
+void DLCLocalisationFile::addData(PBYTE pbData, DWORD dwBytes)
+{
+ m_strings = new StringTable(pbData, dwBytes);
+} \ No newline at end of file