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 String
getName()
Gets the name of this skill action, usually the item or object created, or the spell cast.default 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
getExcludedSkillBonuses, getIcon, getLevel, getSprite, getXp, isBonusApplicable, isMembers
-
-
-
-
Method Detail
-
getName
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 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.
-
-