Interface NamedSkillAction
-
- All Superinterfaces:
SkillAction
- All Known Implementing Classes:
AgilityAction
,ConstructionAction
,FarmingAction
,HunterAction
,ThievingAction
public interface NamedSkillAction extends SkillAction
An object representing a single skill action which grants some xp, with an explicitly defined name field.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description java.lang.String
getName()
Gets the name of this skill action, usually the item or object created, or the spell cast.default java.lang.String
getName(ItemManager itemManager)
Gets the name of this skill action, usually the item or object created, or the spell cast.-
Methods inherited from interface net.runelite.client.plugins.skillcalculator.skills.SkillAction
getIcon, getLevel, getSprite, getXp, isBonusApplicable, isMembers
-
-
-
-
Method Detail
-
getName
java.lang.String getName()
Gets the name of this skill action, usually the item or object created, or the spell cast.- Returns:
- The name of this skill action.
-
getName
default java.lang.String getName(ItemManager itemManager)
Description copied from interface:SkillAction
Gets the name of this skill action, usually the item or object created, or the spell cast. This name may be fetched viaItemComposition.getMembersName()
from some defined item ID or explicitly defined.- Specified by:
getName
in interfaceSkillAction
- Parameters:
itemManager
- Anitem manager
instance.- Returns:
- The name of this skill action.
-
-