Google-Code-Fork / tibiaapi

Automatically exported from code.google.com/p/tibiaapi
MIT License
0 stars 0 forks source link

Item using via hotkeys should be static methods #3

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
When you send a hotkey packet, the first item found will be used at the
clients discretion. So, this type of method should not be a normal method
as an item, because the programmer may think that the specified item is
being used.

Instead, the hotkey packet sending methods should be static, either of Item
or Inventory.

Original issue reported on code.google.com by ian320 on 27 Mar 2008 at 1:54

GoogleCodeExporter commented 9 years ago
Inventory.UseItem(ID) now works

Original comment by hugo.per...@gmail.com on 27 Mar 2008 at 2:15