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