IInputBasedSkill
An interface in Root.Township, the global namespace.
A profession skill driven by an input method (such as a swing or a held button) instead of firing on its own.
- Listed in Global namespace: I to L
- Derived types
PickupBasedSkill,PickupBasedSkillModifier
Properties
| Member | What it is |
|---|---|
SkillInputStructure InputStructure { get; } | Describes which inputs the skill needs. |
ProfessionSkill Skill { get; } | The profession skill this belongs to. |
Methods
| Member | What it is |
|---|---|
void Deregister(ISkillInputMethod input) | Stops listening to the given skill input method. |
void ExecuteWithHit(HeldPickupHandler handler, ImpactHitWithTool hitWithTool, bool hasHit = true) | Runs the skill for a held item, using the impact hit that triggered it. |
void InputChangedState(bool isEnabled, ISkillInputMethod input) | Called when an input method is enabled or disabled. |
void Register(ISkillInputMethod input) | Starts listening to the given skill input method. |
bool ValidateExecutionHit(ProgressionPath path, ImpactHitWithTool hitWithTool) | Checks whether an impact hit on a progression path should trigger the skill. |
bool ValidatePickup(HeldPickupHandler pickupHandler) | Checks whether the held item can use this skill. |
Used in
Members of other types that take, return or hold a IInputBasedSkill: