Example #1
0
        public static void OnDoEquip(WorldClient client, INetPacketStream packet)
        {
            var equipItemPacket = new EquipItemPacket(packet);
            var inventoryEvent  = new InventoryEquipEventArgs(equipItemPacket.UniqueId, equipItemPacket.Part);

            client.Player.NotifySystem <InventorySystem>(inventoryEvent);
        }
Example #2
0
 public void OnDoEquip(IWorldClient client, EquipItemPacket packet)
 {
     _inventorySystem.EquipItem(client.Player, packet.UniqueId, packet.Part);
 }