public void Handle(EOPacketManager parent, IPacket packet) { var username = packet.ReadBreakString(); var password = packet.ReadBreakString(); Program.Market.ShopManager.SetPassword(password); }
public void Handle(EOPacketManager parent, IPacket packet) { if (!Program.Market.Visible) { Program.Market.Show(); Program.Market.Visible = true; } }
public void Handle(EOPacketManager parent, IPacket packet) { var reply = new LoginRequestGrantedPacketTranslator(new NumberEncoderService()).TranslatePacket(packet); Program.Market.ClientUsername = reply.Name; }
public void Handle(EOPacketManager parent, IPacket packet) { }