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 StringgetName()Gets the name of this skill action, usually the item or object created, or the spell cast.default StringgetName(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:SkillActionGets 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:
getNamein interfaceSkillAction- Parameters:
itemManager- Anitem managerinstance.- Returns:
- The name of this skill action.
-
-