refactor(Minecraft.World): Implement LCEMP changes.

This commit is contained in:
2026-07-13 00:14:53 +03:00
parent 3fce0538c5
commit 21e2add09a
64 changed files with 655 additions and 372 deletions
+6 -1
View File
@@ -1,5 +1,6 @@
#include "stdafx.h"
#include <xhash>
#include <functional>
#include "Hasher.h"
@@ -19,7 +20,11 @@ wstring Hasher::getHash(wstring &name)
//return new BigInteger(1, m.digest()).toString(16);
// TODO 4J Stu - Will this hash us with the same distribution as the MD5?
return _toString( hash_value( s ) );
#if !defined(_MSC_VER) || _MSC_VER >= 1900
return _toString( std::hash<wstring>{}( s ) );
#else
return _toString( stdext::hash_value( s ) );
#endif
//}
//catch (NoSuchAlgorithmException e)
//{