Skip to main content

InGameInspector.NonTeleporterInGameTool

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

Base for inspector tools that use the teleport button themselves. While enabled it removes the player's teleport controller mode on that hand.

Constructors​

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

Fields​

MemberWhat it is
protected PlayerInput controllerInput of the player holding the inspector, set while the tool is enabled.

Methods​

MemberWhat it is
override void Disable()Adds teleport mode back to the player's controller.
override void Enable(Interactable pickup, Interactor interactor)Stores the holder's PlayerInput and removes its teleport controller mode.