Пример #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);
        }
Пример #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);
        }