[ Version ( since = "3.0" ) ]
public static unowned Item? get_by_id (int32 item_id)
Returns a Item representing item_id.
Since Item is an abstract class, the real object type will actually be the proper subclass.
Note: in most use cases, you should not need to retrieve a Item by its ID, which is mostly internal data and not reusable across sessions. Use the appropriate functions for your use case instead.
| item_id |
The item id. |
|
a Item for |