Package net.storm.api.domain
Interface Identifiable
- All Known Subinterfaces:
IActor,IBankInventoryItem,IBankItem,IDecorativeObject,IGameObject,IGroundObject,IInventoryItem,IItem,INPC,IPlayer,ITileItem,ITileObject,IWallObject,IWidget,SceneEntity,TileEntity
public interface Identifiable
Represents an entity that has a unique numeric identifier.
In RuneScape, many entities have IDs that can be used to identify them:
- Items have item IDs (e.g., 995 for coins)
- NPCs have NPC IDs (e.g., 2633 for banker)
- Objects have object IDs (e.g., 1278 for a tree)
- Widgets have component IDs
- See Also:
-
Method Summary
-
Method Details
-
getId
int getId()Gets the unique identifier for this entity.IDs are used internally by the game to distinguish between different types of entities. The same ID always refers to the same type of entity.
- Returns:
- the entity ID
-