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); }
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); }