Beispiel #1
0
 public override void Deserialize(QNetworkReader reader)
 {
     NetId    = reader.ReadNetworkId();
     SceneId  = reader.ReadSceneId();
     Position = reader.ReadVector3();
     Payload  = reader.ReadBytesAndSize();
 }
Beispiel #2
0
 public override void Deserialize(QNetworkReader reader)
 {
     netId          = reader.ReadNetworkId();
     stateHash      = (int)reader.ReadPackedUInt32();
     normalizedTime = reader.ReadSingle();
     parameters     = reader.ReadBytesAndSize();
 }
Beispiel #3
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();
     }
 }
Beispiel #4
0
 public override void Deserialize(QNetworkReader reader)
 {
     base.Deserialize(reader);
     IndexArray = Array.ConvertAll(reader.ReadBytesAndSize(), Convert.ToInt32);
 }
Beispiel #5
0
 public override void Deserialize(QNetworkReader reader)
 {
     playerControllerId = reader.ReadInt16();
     msgData            = reader.ReadBytesAndSize();
     msgSize            = msgData?.Length ?? 0;
 }
Beispiel #6
0
		public override void Deserialize(QNetworkReader reader)
		{
			netId = reader.ReadNetworkId();
			parameters = reader.ReadBytesAndSize();
		}