RuneHive-Tarnish
Neural OSRS Enhancement Framework
Loading...
Searching...
No Matches
com.osroyale.content.preset.PresetManager Class Reference
Collaboration diagram for com.osroyale.content.preset.PresetManager:

Public Member Functions

 PresetManager (Player player)
void open ()
void open (int slot)
void refresh ()
void name (String name)
void upload ()
void activate ()
void delete ()
void openSettings ()

Public Attributes

Preset[] preset = new Preset[SIZE]
boolean deathOpen
boolean autoDeposit

Static Public Attributes

static final int SIZE = 10

Detailed Description

Handles managing the preset system.

Author
Daniel

Definition at line 64 of file PresetManager.java.

Constructor & Destructor Documentation

◆ PresetManager()

com.osroyale.content.preset.PresetManager.PresetManager ( Player player)
inline

Constructs a new PresetManager.

Definition at line 85 of file PresetManager.java.

Member Function Documentation

◆ activate()

void com.osroyale.content.preset.PresetManager.activate ( )
inline

Activates the preset.

Definition at line 195 of file PresetManager.java.

◆ delete()

void com.osroyale.content.preset.PresetManager.delete ( )
inline

Handles deleting the preset.

Definition at line 315 of file PresetManager.java.

◆ name()

void com.osroyale.content.preset.PresetManager.name ( String name)
inline

Handles naming the preset.

Definition at line 147 of file PresetManager.java.

◆ open() [1/2]

void com.osroyale.content.preset.PresetManager.open ( )
inline

Opens the preset to the last viewed slot.

Definition at line 90 of file PresetManager.java.

◆ open() [2/2]

void com.osroyale.content.preset.PresetManager.open ( int slot)
inline

Opens the preset to a specific slot.

Definition at line 95 of file PresetManager.java.

◆ openSettings()

void com.osroyale.content.preset.PresetManager.openSettings ( )
inline

Handles opening the settings menu for the preset.

Definition at line 330 of file PresetManager.java.

◆ refresh()

void com.osroyale.content.preset.PresetManager.refresh ( )
inline

Refreshes all the components on the interface.

Definition at line 111 of file PresetManager.java.

◆ upload()

void com.osroyale.content.preset.PresetManager.upload ( )
inline

Handles uploading the preset content.

Definition at line 165 of file PresetManager.java.

Member Data Documentation

◆ autoDeposit

boolean com.osroyale.content.preset.PresetManager.autoDeposit

The automatically deposit items on activate flag.

Definition at line 79 of file PresetManager.java.

◆ deathOpen

boolean com.osroyale.content.preset.PresetManager.deathOpen

The preset opening on death flag.

Definition at line 76 of file PresetManager.java.

◆ preset

Preset [] com.osroyale.content.preset.PresetManager.preset = new Preset[SIZE]

The presets.

Definition at line 73 of file PresetManager.java.

◆ SIZE

final int com.osroyale.content.preset.PresetManager.SIZE = 10
static

The total preset size.

Definition at line 67 of file PresetManager.java.


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