Bricklayer.Common.Networking.Messages.PlayerStateMessage.Decode C# (CSharp) Метод

Decode() публичный Метод

public Decode ( NetIncomingMessage im ) : void
im Lidgren.Network.NetIncomingMessage
Результат void
        public void Decode(NetIncomingMessage im)
        {
            this.ID = im.ReadByte();
            this.Position = new Point(im.ReadInt32(), im.ReadInt32());
            this.Velocity = new Point(im.ReadInt32(), im.ReadInt32());
            this.Movement = new Point(im.ReadInt32(), im.ReadInt32());
            this.IsJumping = im.ReadBoolean();
        }