public void Deserialize(NetBuffer reader)
            {
                ObjectType = reader.ReadObjectType();
                ObjectId   = reader.ReadObjectId();
                ObjectRole = (ObjectRole)reader.ReadByte();
                var additionalDataSize = reader.ReadVariableUInt32();

                reader.ReadInto(AdditionalData, (int)additionalDataSize);
            }
Example #2
0
 public void Deserialize(NetBuffer networkReader)
 {
     ReceiverId = networkReader.ReadObjectId();
 }
Example #3
0
 public void Deserialize(NetBuffer reader)
 {
     ObjectId = reader.ReadObjectId();
 }
Example #4
0
 public void Deserialize(NetBuffer reader)
 {
     GlobalObjectId.ReadFrom(reader);
     NetworkObjectId = reader.ReadObjectId();
     ObjectRole      = (ObjectRole)reader.ReadByte();
 }
Example #5
0
 public void Deserialize(NetBuffer reader)
 {
     CheckpointId = reader.ReadVariableUInt32();
     RacerId      = reader.ReadObjectId();
 }