public override void Deserialize(QNetworkReader reader)
 {
     base.Deserialize(reader);
     PlayerPosition = reader.ReadVector3();
     PlayerRotation = reader.ReadQuaternion();
     CameraDegrees  = reader.ReadSingle();
 }
Beispiel #2
0
 public override void Deserialize(QNetworkReader reader)
 {
     NetId    = reader.ReadNetworkId();
     assetId  = reader.ReadNetworkHash128();
     Position = reader.ReadVector3();
     Payload  = reader.ReadBytesAndSize();
     if (reader.Length - reader.Position >= 16U)
     {
         Rotation = reader.ReadQuaternion();
     }
 }
 public override void Deserialize(QNetworkReader reader)
 {
     base.Deserialize(reader);
     SocketId      = reader.ReadInt32();
     LocalRotation = reader.ReadQuaternion();
 }