public NetAddressList() { AddressList = new NetAddress[Constants.NET_ADDRESS_LIST_COUNT]; for (int i = 0; i < Constants.NET_ADDRESS_LIST_COUNT; ++i) { AddressList[i] = new NetAddress(); } }
public override void Deserialize(BinaryReader reader) { // base.Deserialize(reader); // MessageID = reader.Read <MessageId>(); reader.ReadBytes(3); Attributes = reader.ReadInt32(); ListenServerAddress = reader.Read <NetAddress>(); }