public override void Deserialize(NetworkReader reader) { this.oldServerConnectionId = (int)reader.ReadPackedUInt32(); this.peers = new PeerInfoMessage[(int)reader.ReadUInt16()]; for (int index = 0; index < this.peers.Length; ++index) { PeerInfoMessage peerInfoMessage = new PeerInfoMessage(); peerInfoMessage.Deserialize(reader); this.peers[index] = peerInfoMessage; } }
public override void Deserialize(NetworkReader reader) { this.oldServerConnectionId = (int) reader.ReadPackedUInt32(); this.peers = new PeerInfoMessage[(int) reader.ReadUInt16()]; for (int index = 0; index < this.peers.Length; ++index) { PeerInfoMessage peerInfoMessage = new PeerInfoMessage(); peerInfoMessage.Deserialize(reader); this.peers[index] = peerInfoMessage; } }
public override void Deserialize(NetworkReader reader) { int num = reader.ReadUInt16(); peers = new PeerInfoMessage[num]; for (int i = 0; i < peers.Length; i++) { PeerInfoMessage peerInfoMessage = new PeerInfoMessage(); peerInfoMessage.Deserialize(reader); peers[i] = peerInfoMessage; } }
public override void Deserialize(NetworkReader reader) { oldServerConnectionId = (int)reader.ReadPackedUInt32(); int num = reader.ReadUInt16(); peers = new PeerInfoMessage[num]; for (int i = 0; i < peers.Length; i++) { PeerInfoMessage peerInfoMessage = new PeerInfoMessage(); peerInfoMessage.Deserialize(reader); peers[i] = peerInfoMessage; } }