Added implementations of the event receive/send packets. Added lua scripting stuff. Added some utils.

This commit is contained in:
Filip Maj committed 2016-01-01 14:04:44 -05:00
1 parent d60938346b
commit 734a3f4e7f
15 files changed
+603 -261

No files matched your search

+8
View File
@@ -67,6 +67,14 @@ namespace FFXIVClassic_Lobby_Server.common
return unixTimeStamp;
}
public static uint swapEndian(uint input)
{
return ((input >> 24) & 0xff) |
((input << 8) & 0xff0000) |
((input >> 8) & 0xff00) |
((input << 24) & 0xff000000);
}
public static uint MurmurHash2(string key, uint seed)
{
// 'm' and 'r' are mixing constants generated offline.