Skip to main content

PickupGrabInputMethod

A class in Root.Township, the global namespace.

Skill input method for skills triggered just by holding a pickup. It only stores the handler and is always active; created by PickupGrabInputStructure.

Constructors​

MemberWhat it is
PickupGrabInputMethod()Creates a PickupGrabInputMethod with default values.

Fields​

1 private and internal field
MemberWhat it is
private HeldPickupHandler handlerThe held pickup handler.

Properties​

4 private and internal properties
MemberWhat it is
private HeldPickupHandler ISkillInputMethod.Handler { get; }The held pickup handler passed to RegisterHandler.
private bool ISkillInputMethod.IsActive { get; }Always true.
private bool ISkillInputMethod.NeedsUpdate { get; }Always false, so Update isn't called.
private bool ISkillInputMethod.ReceivesHits { get; }Always false.

Events​

MemberWhat it is
event Action<bool, ISkillInputMethod> ChangedActiveEvent from ISkillInputMethod. Never raised here.

Methods​

5 private and internal methods
MemberWhat it is
private void ISkillInputMethod.Clear()Empty.
private bool ISkillInputMethod.ReceiveHit(HeldPickupHandler handler, ImpactHitWithTool hitWithTool, ProfessionSkill skill)Ignores hits and returns false.
private void ISkillInputMethod.RegisterHandler(HeldPickupHandler pickupHandler, SkillInputStructure structure, ProfessionSkill skill)Stores the held pickup handler.
private void ISkillInputMethod.Reset(bool isCallingEvent)Empty.
private void ISkillInputMethod.Update()Empty.