namespace UXAssist.Common.Utils; /// /// Shared player input probes used by the automation features (auto-cruise, auto-construct) to /// detect a manual override. /// public static class PlayerInputUtil { /// /// Returns true while the player holds any movement key that would fight an automated route. /// Only the six actual movement axes are considered: PlayerController.GetInput maps them /// to input0.x/y (strafe/forward) and input1.y (vertical thrust), which are the /// inputs every automated motion path writes to. Camera, build and UI keys are deliberately /// excluded so they do not cancel automation. /// public static bool HasManualMovementInput() => VFInput._pullUp.pressing || VFInput._pushDown.pressing || VFInput._moveLeft.pressing || VFInput._moveRight.pressing || VFInput._moveForward.pressing || VFInput._moveBackward.pressing; }