Core/Calendar: Implement different timezone support for ingame calendar
Port From (https://github.com/TrinityCore/TrinityCore/commit/b888b1b09f71a8b8b4a9d45c804a1f164fb65ac3)
This commit is contained in:
@@ -422,6 +422,17 @@ namespace System
|
||||
|
||||
return -1;
|
||||
}
|
||||
|
||||
public static uint HashFnv1a(this string data)
|
||||
{
|
||||
uint hash = 0x811C9DC5u;
|
||||
foreach (char c in data)
|
||||
{
|
||||
hash ^= c;
|
||||
hash *= 0x1000193u;
|
||||
}
|
||||
return hash;
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region BinaryReader
|
||||
|
||||
Reference in New Issue
Block a user