示例#1
0
 public void UseItemOnCreature(uint id, byte stack, int creatureId)
 {
     Packets.OutGoing.ItemUseOnCreature.Send(client, ItemLocation.FromHotkey().ToLocation(), (ushort)id, stack, (uint)creatureId);
 }
示例#2
0
 public void UseItemOnTile(uint id, Tile onTile)
 {
     Packets.OutGoing.ItemUseOn.Send(client, ItemLocation.FromHotkey().ToLocation(), (ushort)id, 0, onTile.Location, (ushort)onTile.Ground.Id, 0);
 }