Ejemplo n.º 1
0
 public _0x8CConnectToGameServer(UOStream Data)
     : base(Data)
 {
     _ip[0] = Data.ReadBit();
     _ip[1] = Data.ReadBit();
     _ip[2] = Data.ReadBit();
     _ip[3] = Data.ReadBit();
     Port = Data.ReadShort();
     Key = Data.ReadInt();
     if (UOProxy.ProxyMode)
     {
         // If we are in proxy mode, overwrite servers IP with local IP
         IP = IPAddress.Loopback;
         Data.Position = 1;
         Data.Write(_ip, 0, 4);
         //ToDo Add Port override
     }
 }