Exemple #1
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();
     }
 }