示例#1
0
 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();
     }
 }
示例#2
0
        public override void Deserialize(BinaryReader reader)
        {
            //
            base.Deserialize(reader);

            //
            MessageID = reader.Read <MessageId>();
            reader.ReadBytes(3);
            Attributes          = reader.ReadInt32();
            ListenServerAddress = reader.Read <NetAddress>();
        }