mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-06-10 22:44:36 +02:00
Added implementations of the event receive/send packets. Added lua scripting stuff. Added some utils.
This commit is contained in:
parent
d60938346b
commit
734a3f4e7f
15 changed files with 603 additions and 261 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue