示例#1
0
        public void Handle(EOPacketManager parent, IPacket packet)
        {
            var username = packet.ReadBreakString();
            var password = packet.ReadBreakString();

            Program.Market.ShopManager.SetPassword(password);
        }
示例#2
0
 public void Handle(EOPacketManager parent, IPacket packet)
 {
     if (!Program.Market.Visible)
     {
         Program.Market.Show();
         Program.Market.Visible = true;
     }
 }
示例#3
0
        public void Handle(EOPacketManager parent, IPacket packet)
        {
            var reply = new LoginRequestGrantedPacketTranslator(new NumberEncoderService()).TranslatePacket(packet);

            Program.Market.ClientUsername = reply.Name;
        }
示例#4
0
 public void Handle(EOPacketManager parent, IPacket packet)
 {
 }