public Deserialize ( NetworkReader reader ) : void | ||
reader | NetworkReader | |
Résultat | void |
public override void Deserialize(NetworkReader reader) { 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(); this.peers = new PeerInfoMessage[num]; for (int i = 0; i < this.peers.Length; i++) { PeerInfoMessage message = new PeerInfoMessage(); message.Deserialize(reader); this.peers[i] = message; } }
public override void Deserialize(NetworkReader reader) { int num = (int)reader.ReadUInt16(); this.peers = new PeerInfoMessage[num]; for (int i = 0; i < this.peers.Length; i++) { PeerInfoMessage peerInfoMessage = new PeerInfoMessage(); peerInfoMessage.Deserialize(reader); this.peers[i] = peerInfoMessage; } }
public override void Deserialize(NetworkReader reader) { this.oldServerConnectionId = (int) reader.ReadPackedUInt32(); int num = reader.ReadUInt16(); this.peers = new PeerInfoMessage[num]; for (int i = 0; i < this.peers.Length; i++) { PeerInfoMessage message = new PeerInfoMessage(); message.Deserialize(reader); this.peers[i] = message; } }
public override void Deserialize(NetworkReader reader) { oldServerConnectionId = (int)reader.ReadPackedUInt32(); int numPeers = reader.ReadUInt16(); peers = new PeerInfoMessage[numPeers]; for (int i = 0; i < peers.Length; ++i) { var peerInfo = new PeerInfoMessage(); peerInfo.Deserialize(reader); peers[i] = peerInfo; } }
public override void Deserialize(NetworkReader reader) { this.oldServerConnectionId = (int)reader.ReadPackedUInt32(); int num = (int)reader.ReadUInt16(); this.peers = new PeerInfoMessage[num]; for (int i = 0; i < this.peers.Length; i++) { PeerInfoMessage peerInfoMessage = new PeerInfoMessage(); peerInfoMessage.Deserialize(reader); this.peers[i] = peerInfoMessage; } }