Пример #1
0
 public void InventoryClick(InventoryPosition pos)
 {
     PacketClientInventoryAction p = new PacketClientInventoryAction();
     p.A = pos;
     p.Action = InventoryActionType.Click;
     SendPacketClient(new PacketClient() { PacketId = ClientPacketId.InventoryAction, InventoryAction = p });
 }
Пример #2
0
 public void MoveToInventory(InventoryPosition from)
 {
     PacketClientInventoryAction p = new PacketClientInventoryAction();
     p.A = from;
     p.Action = InventoryActionType.MoveToInventory;
     SendPacketClient(new PacketClient() { PacketId = ClientPacketId.InventoryAction, InventoryAction = p });
 }
Пример #3
0
 public void WearItem(InventoryPosition from, InventoryPosition to)
 {
     PacketClientInventoryAction p = new PacketClientInventoryAction();
     p.A = from;
     p.B = to;
     p.Action = InventoryActionType.WearItem;
     SendPacketClient(new PacketClient() { PacketId = ClientPacketId.InventoryAction, InventoryAction = p });
 }