Skip to main content

InGameInspector.StraightJumper

A private class in Root.Township, the global namespace. Reach it through att-stubs' publicized assemblies or Harmony's AccessTools.

Debug inspector tool that moves the player a set distance forward, up or down in one step.

Constructors​

MemberWhat it is
StraightJumper(InGameInspector inspector)Creates an InGameInspector.StraightJumper from inspector.

Fields​

2 private and internal fields
MemberWhat it is
private InGameInspector.StraightJumper.Direction currentDirectionHorizontal, up or down.
private float distanceJump length in metres. Starts at 0.5.

Properties​

MemberWhat it is
override string Name { get; }Shown on the inspector as "Straight Jumper".

Methods​

MemberWhat it is
override void PressClearAsync()Moves the player distance metres in the chosen direction. Forward uses the head direction flattened to horizontal.
override void PressDown()Shortens the jump by 0.5 metres.
override void PressUp()Lengthens the jump by 0.5 metres.
override void ReceiveAngle(float angle)Does nothing for this tool.
override void ReceiveInput(PlayerInput controller)Picks up, horizontal or down from the angle of the swipe when the teleport button is pressed.
override void Update()Shows the distance and direction.