mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-05-20 08:26:59 -04:00
Packet refactoring.
This commit is contained in:
@@ -28,7 +28,7 @@ namespace Meteor.Map.packets.receive
|
||||
{
|
||||
bool invalidPacket = false;
|
||||
|
||||
public ulong time;
|
||||
public ulong timestamp;
|
||||
public float x, y, z, rot;
|
||||
public ushort moveState; //0: Standing, 1: Walking, 2: Running
|
||||
|
||||
@@ -39,7 +39,7 @@ namespace Meteor.Map.packets.receive
|
||||
using (BinaryReader binReader = new BinaryReader(mem))
|
||||
{
|
||||
try{
|
||||
time = binReader.ReadUInt64();
|
||||
timestamp = binReader.ReadUInt64();
|
||||
x = binReader.ReadSingle();
|
||||
y = binReader.ReadSingle();
|
||||
z = binReader.ReadSingle();
|
||||
|
Reference in New Issue
Block a user