RuneHive-Tarnish
Neural OSRS Enhancement Framework
Loading...
Searching...
No Matches
com.osroyale.game.world.items.ItemDefinition Class Reference
Collaboration diagram for com.osroyale.game.world.items.ItemDefinition:

Public Member Functions

int getId ()
String getName ()
String getDestroyMessage ()
boolean isNoted ()

Static Public Member Functions

static ItemDefinition get (int id)

Static Public Attributes

static ItemDefinition[] DEFINITIONS

Detailed Description

Represents all of an in-game Item's attributes.

Author
Michael | Chex
Daniel | Obey

Definition at line 65 of file ItemDefinition.java.

Member Function Documentation

◆ get()

ItemDefinition com.osroyale.game.world.items.ItemDefinition.get ( int id)
inlinestatic

Gets an item definition.

Parameters
idThe definition's item id.
Returns
The item definition for the item id, or null if the item id is out of bounds.

Definition at line 686 of file ItemDefinition.java.

◆ getDestroyMessage()

String com.osroyale.game.world.items.ItemDefinition.getDestroyMessage ( )
inline

Gets the item destroy message.

Returns
The item destroy message.

Definition at line 722 of file ItemDefinition.java.

◆ getId()

int com.osroyale.game.world.items.ItemDefinition.getId ( )
inline

Gets the item id.

Returns
The item id.

Definition at line 704 of file ItemDefinition.java.

◆ getName()

String com.osroyale.game.world.items.ItemDefinition.getName ( )
inline

Gets the item name.

Returns
The item name.

Definition at line 713 of file ItemDefinition.java.

◆ isNoted()

boolean com.osroyale.game.world.items.ItemDefinition.isNoted ( )
inline

Gets the item note state.

Returns
True if the item is noted;

Definition at line 731 of file ItemDefinition.java.

Member Data Documentation

◆ DEFINITIONS

ItemDefinition [] com.osroyale.game.world.items.ItemDefinition.DEFINITIONS
static

An array of item definitions.

Definition at line 70 of file ItemDefinition.java.


The documentation for this class was generated from the following file: