public void InventoryClick(InventoryPosition pos) { PacketClientInventoryAction p = new PacketClientInventoryAction(); p.A = pos; p.Action = InventoryActionType.Click; SendPacketClient(new PacketClient() { PacketId = ClientPacketId.InventoryAction, InventoryAction = p }); }
public void MoveToInventory(InventoryPosition from) { PacketClientInventoryAction p = new PacketClientInventoryAction(); p.A = from; p.Action = InventoryActionType.MoveToInventory; SendPacketClient(new PacketClient() { PacketId = ClientPacketId.InventoryAction, InventoryAction = p }); }
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 }); }