Interface RuneLiteWrapper<T>

Type Parameters:
T - the type of the wrapped RuneLite API object
All Known Subinterfaces:
IActor, IBankInventoryItem, IBankItem, IClient, IClientThread, IDecorativeObject, IGameObject, IGroundObject, IInventoryItem, IItem, INPC, IPlayer, ITile, ITileItem, ITileObject, IWallObject, IWidget

public interface RuneLiteWrapper<T>
A generic wrapper interface for RuneLite API objects.

This interface provides a standard way to wrap RuneLite API objects, allowing Storm API implementations to extend functionality while maintaining access to the underlying RuneLite object when needed.

Classes implementing this interface encapsulate a RuneLite API object of type T and provide additional functionality on top of it. The wrapped object can be retrieved when direct access to the RuneLite API is required.

  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the underlying wrapped RuneLite API object.
  • Method Details

    • getWrapped

      T getWrapped()
      Gets the underlying wrapped RuneLite API object.

      This method provides direct access to the wrapped RuneLite object, which can be useful when interacting with RuneLite plugins or accessing functionality not exposed by the Storm API wrapper.

      Returns:
      the wrapped RuneLite API object of type T