Exemple #1
0
        public override void Serialize(QNetworkWriter writer)
        {
            base.Serialize(writer);
            var temp = IndexArray.Select(x => (byte)x).ToArray();

            writer.WriteBytesAndSize(temp, temp.Length);
        }
Exemple #2
0
 public override void Serialize(QNetworkWriter writer)
 {
     writer.Write(netId);
     writer.WritePackedUInt32((uint)stateHash);
     writer.Write(normalizedTime);
     writer.WriteBytesAndSize(parameters, parameters?.Length ?? 0);
 }
Exemple #3
0
 public override void Serialize(QNetworkWriter writer)
 {
     writer.Write(playerControllerId);
     writer.WriteBytesAndSize(msgData, msgSize);
 }
Exemple #4
0
		public override void Serialize(QNetworkWriter writer)
		{
			writer.Write(netId);
			writer.WriteBytesAndSize(parameters, parameters?.Length ?? 0);
		}