RuneHive-Tarnish
Neural OSRS Enhancement Framework
Loading...
Searching...
No Matches
com.osroyale.content.skill.impl.slayer.Slayer Class Reference

Public Member Functions

 Slayer (Player player)
void open (SlayerTab tab)
void assign (TaskDifficulty difficulty)
boolean cancel (boolean requiresCost)
void block ()
void unblock (int index)
void activate (Npc npc, int killAmount)
void confirm (int button)
void purchase ()
void store (int slot, int amount, boolean value)

Detailed Description

Handles the slayer skill.

Author
Daniel

Definition at line 63 of file Slayer.java.

Constructor & Destructor Documentation

◆ Slayer()

com.osroyale.content.skill.impl.slayer.Slayer.Slayer ( Player player)
inline

Constructs a new Slayer.

Definition at line 98 of file Slayer.java.

Member Function Documentation

◆ activate()

void com.osroyale.content.skill.impl.slayer.Slayer.activate ( Npc npc,
int killAmount )
inline

Activates killing a slayer npc.

Definition at line 208 of file Slayer.java.

◆ assign()

void com.osroyale.content.skill.impl.slayer.Slayer.assign ( TaskDifficulty difficulty)
inline

Assigns a slayer task to the player.

Definition at line 110 of file Slayer.java.

◆ block()

void com.osroyale.content.skill.impl.slayer.Slayer.block ( )
inline

Blocks the current assigned slayer task.

Definition at line 165 of file Slayer.java.

◆ cancel()

boolean com.osroyale.content.skill.impl.slayer.Slayer.cancel ( boolean requiresCost)
inline

Cancel's the current assigned slayer task.

Definition at line 142 of file Slayer.java.

◆ confirm()

void com.osroyale.content.skill.impl.slayer.Slayer.confirm ( int button)
inline

Opens the confirm itemcontainer for purchasing a perk.

Definition at line 227 of file Slayer.java.

◆ open()

void com.osroyale.content.skill.impl.slayer.Slayer.open ( SlayerTab tab)
inline

Opens the slayer itemcontainer.

Definition at line 103 of file Slayer.java.

◆ purchase()

void com.osroyale.content.skill.impl.slayer.Slayer.purchase ( )
inline

Handles purchasing a slayer perk.

Definition at line 237 of file Slayer.java.

◆ store()

void com.osroyale.content.skill.impl.slayer.Slayer.store ( int slot,
int amount,
boolean value )
inline

Handles purchasing items from the slayer shop.

Definition at line 284 of file Slayer.java.

◆ unblock()

void com.osroyale.content.skill.impl.slayer.Slayer.unblock ( int index)
inline

Unblocks the slayer task.

Definition at line 196 of file Slayer.java.


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