Exemplo n.º 1
0
        void c_ClientNpcTradeInfo(object sender, ClientNpcTradeEventArgs e)
        {
            Client       c   = (Client)sender;
            NpcTradeInfo n   = e.Info;
            Npc          npc = mapEngine.GetNpcByID(n.NpcID, n.MapID);

            byte[] SendNpcItemList = PacketManager.SendNpcItemList(npc, n.Bag);
            c.Send(SendNpcItemList);
        }
Exemplo n.º 2
0
        void c_ClientNpcTradeInfo(object sender, ClientNpcTradeEventArgs e)
        {
            Client c = (Client)sender;
            NpcTradeInfo n = e.Info;
            Npc npc = mapEngine.GetNpcByID(n.NpcID, n.MapID);

            byte[] SendNpcItemList = PacketManager.SendNpcItemList(npc, n.Bag);
            c.Send(SendNpcItemList);
        }