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();
     }
 }
 public override void Deserialize(QNetworkReader reader)
 {
     netId     = reader.ReadNetworkId();
     authority = reader.ReadBoolean();
 }
 public override void Deserialize(QNetworkReader reader)
 {
     netId = reader.ReadNetworkId();
     hash  = (int)reader.ReadPackedUInt32();
 }
Exemplo n.º 6
0
		public override void Deserialize(QNetworkReader reader)
		{
			netId = reader.ReadNetworkId();
			parameters = reader.ReadBytesAndSize();
		}
Exemplo n.º 7
0
 public override void Deserialize(QNetworkReader reader)
 {
     NetId = reader.ReadNetworkId();
     PlayerControllerId = (short)reader.ReadPackedUInt32();
 }
Exemplo n.º 8
0
 public override void Deserialize(QNetworkReader reader) => NetId = reader.ReadNetworkId();