internal ClientEventArgs(Client client)
 {
     Client = client;
 }
Example #2
0
 // 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
     });
 }
Example #3
0
 public CommandEventArgs(Client client, string[] tokens)
 {
     Client = client;
     Tokens = tokens;
 }
Example #4
0
 // 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;
 }