Exemple #1
0
        public override void Deserialize(DeltaBitStream message)
        {
            LastCommandTime = message.ReadUInt32();
            VelocityZ       = message.ReadSingle();

            base.Deserialize(message);
        }
Exemple #2
0
 public virtual void Deserialize(DeltaBitStream message)
 {
     Position = new Vector3(message.ReadSingle(), message.ReadSingle(), message.ReadSingle());
     Rotation = new Vector3(message.ReadInt16() / 10f, message.ReadInt16() / 10f, message.ReadInt16() / 10f);
 }