internal ClientEventArgs(Client client) { Client = client; }
// Updates entity holding via 0x05 private void SendHoldingEquipment(Client c) { PacketHandler.SendPacket(new EntityEquipmentPacket { EntityId = c.EntityId, Slot = 0, ItemId = c.Inventory.ActiveItem.Type, Durability = c.Inventory.ActiveItem.Durability }); }
public CommandEventArgs(Client client, string[] tokens) { Client = client; Tokens = tokens; }
// Updates entity equipment via 0x05 private void SendEntityEquipment(Client c, short slot) { PacketHandler.SendPacket(new EntityEquipmentPacket { EntityId = c.EntityId, Slot = slot, ItemId = c.Inventory.Slots[slot].Type, Durability = 0 }); }
public CommandEventArgs(Client client, ClientCommand command, string[] tokens) { Client = client; Tokens = tokens; Command = command; }