Rebornbuddy
Loading...
Searching...
No Matches
ff14bot.Managers.MovementManager Class Reference

Handles various movement-related functionalities including managing movement states, movement operations, and utilities for both ground and aerial navigation. More...

Classes

class  MovementEventArgs
 Additional information for movement events. More...

Static Public Member Functions

static void Pulse ()
 Pulses this instance.
static void Jump ()
 Executes a jump action for the player character.
static void MoveForwardStart ()
 Start autorunning forward.
static void MoveForwardStop ()
 Stops the forward movement initiated previously.
static void StartAscending ()
 Initiates the ascending motion, enabling upward movement if conditions are met.
static void StopAscending ()
 Stops the ascending movement of the character.
static void StartDescending ()
 Initiates the descent action for a character, typically used when flying, swimming, or diving.
static void StopDescending ()
 Stops the descending motion of the player character.
static void SetFacing (float rotation)
 Sets the direction the player is facing If the player is currently flying then the Y axis is set to 0 and youll fly straight.
static void SetFacing (Vector3 target)
 Face the player twoards the provided vector If the player is currently flying then the player will fly twoards the point Facing a vector that is outside the range of normal movement will follow the normal game behavior of clamping to the closest possible angle.
static void SetFacing2D (Vector3 target)
 Sets the direction the player is facing If the player is currently flying then the Y axis is set to 0 and youll fly straight.
static void Move (MovementDirection dir, TimeSpan time)
 Moves the specified dir, only works while botbase is running.
static void Move (MovementDirection direction)
 Sets a control bit, only works while botbase is running.
static void MoveStop (MovementDirection direction)
 Unsets a control bit flag, only works while botbase is running.
static void MoveStop ()
 Makes you stop moving.

Properties

static bool MovementLocked [get]
 Returns true if the game has locked our character from moving.
static bool IsOccupied [get]
 Returns true if the player is currently unable to move or perform actions due to being busy.
static bool IsMoving [get]
 Returns if character is currently moving. This variable is not cached.
static bool IsTurning [get]
 Returns if character is currently turning. This variable is not cached.
static bool IsFlying [get]
 Returns true if flying, false otherwise. This variable is not cached.
static float Speed [get]
 Returns characters current speed. This variable is not cached.
static bool IsSwimming [get]
 Returns true if the player is swimming on the surface of the water.
static bool IsDiving [get]
 Returns true if the player is currently underwater diving.
static MovementDirection ActiveInputControl [get]
 Represents the current active input controls for movement, indicating the directions or actions currently engaged by the bot.

Detailed Description

Handles various movement-related functionalities including managing movement states, movement operations, and utilities for both ground and aerial navigation.

Member Function Documentation

◆ Jump()

void ff14bot.Managers.MovementManager.Jump ( )
static

Executes a jump action for the player character.

◆ Move() [1/2]

void ff14bot.Managers.MovementManager.Move ( MovementDirection dir,
TimeSpan time )
static

Moves the specified dir, only works while botbase is running.

Parameters
dirThe dir.
timeThe time.

◆ Move() [2/2]

void ff14bot.Managers.MovementManager.Move ( MovementDirection direction)
static

Sets a control bit, only works while botbase is running.

Parameters
directionThe direction.

◆ MoveForwardStart()

void ff14bot.Managers.MovementManager.MoveForwardStart ( )
static

Start autorunning forward.

◆ MoveForwardStop()

void ff14bot.Managers.MovementManager.MoveForwardStop ( )
static

Stops the forward movement initiated previously.

This method was marked as obsolete; use MoveStop() instead for stopping movement.

◆ MoveStop() [1/2]

void ff14bot.Managers.MovementManager.MoveStop ( )
static

Makes you stop moving.

◆ MoveStop() [2/2]

void ff14bot.Managers.MovementManager.MoveStop ( MovementDirection direction)
static

Unsets a control bit flag, only works while botbase is running.

Parameters
directionThe direction.

◆ Pulse()

void ff14bot.Managers.MovementManager.Pulse ( )
static

Pulses this instance.

Created by Nesox 2012-02-04.

◆ SetFacing() [1/2]

void ff14bot.Managers.MovementManager.SetFacing ( float rotation)
static

Sets the direction the player is facing If the player is currently flying then the Y axis is set to 0 and youll fly straight.

Parameters
rotationAngle in radians, value should be between 0 and 2π

◆ SetFacing() [2/2]

void ff14bot.Managers.MovementManager.SetFacing ( Vector3 target)
static

Face the player twoards the provided vector If the player is currently flying then the player will fly twoards the point Facing a vector that is outside the range of normal movement will follow the normal game behavior of clamping to the closest possible angle.

Parameters
targetVector to face

◆ SetFacing2D()

void ff14bot.Managers.MovementManager.SetFacing2D ( Vector3 target)
static

Sets the direction the player is facing If the player is currently flying then the Y axis is set to 0 and youll fly straight.

Parameters
targetVector to face

◆ StartAscending()

void ff14bot.Managers.MovementManager.StartAscending ( )
static

Initiates the ascending motion, enabling upward movement if conditions are met.

Verifies whether the player is flying, swimming, or diving before enabling ascending motion.

◆ StartDescending()

void ff14bot.Managers.MovementManager.StartDescending ( )
static

Initiates the descent action for a character, typically used when flying, swimming, or diving.

Changes control memory to start the downward movement only if the character is in a valid state (flying, swimming, or diving).

◆ StopAscending()

void ff14bot.Managers.MovementManager.StopAscending ( )
static

Stops the ascending movement of the character.

Writes a value to the memory address controlling ascending motion to halt upward movement.

◆ StopDescending()

void ff14bot.Managers.MovementManager.StopDescending ( )
static

Stops the descending motion of the player character.

Used internally to write to memory and halt any descending action.

Property Documentation

◆ ActiveInputControl

MovementDirection ff14bot.Managers.MovementManager.ActiveInputControl
staticget

Represents the current active input controls for movement, indicating the directions or actions currently engaged by the bot.

◆ IsDiving

bool ff14bot.Managers.MovementManager.IsDiving
staticget

Returns true if the player is currently underwater diving.

◆ IsFlying

bool ff14bot.Managers.MovementManager.IsFlying
staticget

Returns true if flying, false otherwise. This variable is not cached.

◆ IsMoving

bool ff14bot.Managers.MovementManager.IsMoving
staticget

Returns if character is currently moving. This variable is not cached.

◆ IsOccupied

bool ff14bot.Managers.MovementManager.IsOccupied
staticget

Returns true if the player is currently unable to move or perform actions due to being busy.

◆ IsSwimming

bool ff14bot.Managers.MovementManager.IsSwimming
staticget

Returns true if the player is swimming on the surface of the water.

◆ IsTurning

bool ff14bot.Managers.MovementManager.IsTurning
staticget

Returns if character is currently turning. This variable is not cached.

◆ MovementLocked

bool ff14bot.Managers.MovementManager.MovementLocked
staticget

Returns true if the game has locked our character from moving.

◆ Speed

float ff14bot.Managers.MovementManager.Speed
staticget

Returns characters current speed. This variable is not cached.