public override void Deserialize(DeltaBitStream message) { LastCommandTime = message.ReadUInt32(); VelocityZ = message.ReadSingle(); base.Deserialize(message); }
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); }