DPB2Class · Bots, plugins and tasks

PlayerMoverManager

Select and access the movement component used by the bot. Movement behavior is supplied by the current mover.

Namespace: DreamPoeBot.Loki.Bot

public static class PlayerMoverManager
Reference: DPB2 0.4.5.103Compare the DPB1 reference → Check signatures and usage notes separately; a matching type is not a compatibility guarantee.

Members and overloads

17 declared here

PostStart

EventLink ↗
public static PlayerMoverManager.PlayerMoverEvent PlayerMoverManager.PostStart

Raised for post start. Subscribe with the callback type shown in the signature.

Event handler type: staticNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

PostStop

EventLink ↗
public static PlayerMoverManager.PlayerMoverEvent PlayerMoverManager.PostStop

Raised for post stop. Subscribe with the callback type shown in the signature.

Event handler type: staticNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

PostTick

EventLink ↗
public static PlayerMoverManager.PlayerMoverEvent PlayerMoverManager.PostTick

Raised for post tick. Subscribe with the callback type shown in the signature.

Event handler type: staticNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

PreStart

EventLink ↗
public static PlayerMoverManager.PlayerMoverEvent PlayerMoverManager.PreStart

Raised for pre start. Subscribe with the callback type shown in the signature.

Event handler type: staticNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

PreStop

EventLink ↗
public static PlayerMoverManager.PlayerMoverEvent PlayerMoverManager.PreStop

Raised for pre stop. Subscribe with the callback type shown in the signature.

Event handler type: staticNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

PreTick

EventLink ↗
public static PlayerMoverManager.PlayerMoverEvent PlayerMoverManager.PreTick

Raised for pre tick. Subscribe with the callback type shown in the signature.

Event handler type: staticNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

MoveTowards

MethodLink ↗
public static bool PlayerMoverManager.MoveTowards(Vector2i position, object user = null)

Moves towards using the supplied arguments.

Return type: boolNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

Parameters

position

Specifies position.

user
Parameter type: objectNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

Specifies user. Optional; the default is shown in the signature.

Returns: A Boolean result. The member description explains the condition being checked.

Start

MethodLink ↗
public static void PlayerMoverManager.Start()

Starts this component's lifecycle.

Return type: voidNo return value.

Stop

MethodLink ↗
public static void PlayerMoverManager.Stop()

Stops this component's lifecycle.

Return type: voidNo return value.

Tick

MethodLink ↗
public static void PlayerMoverManager.Tick()

Updates this component for the current bot tick. Keep repeated work short.

Return type: voidNo return value.

Current

PropertyLink ↗
public static IPlayerMover PlayerMoverManager.Current { get; set; }

Reads or assigns current on PlayerMoverManager as IPlayerMover. Open the value type below for its members and accepted values.

Value type: IPlayerMover
Explore IPlayerMover → members & methods

Contract for moving toward a position. Implement this interface to provide a movement strategy.

CurrentCommand

PropertyLink ↗
public static PathResult? PlayerMoverManager.CurrentCommand { get; }

Reads current command on PlayerMoverManager as PathResult?. Open the value type below for its members and accepted values.

Value type: PathResult?
Explore PathResult → members & methods

The outcome of a route query, not a movement command. Check Success before reading Path; inspect ErrorCode when planning fails.

PlayerMovers

PropertyLink ↗
public static IReadOnlyList<IPlayerMover> PlayerMoverManager.PlayerMovers { get; }

Gets the player movers collection. Its element types are linked below.

Value type: IReadOnlyList<IPlayerMover>
Explore IPlayerMover → members & methods

Contract for moving toward a position. Implement this interface to provide a movement strategy.

Guides using this class

See how these APIs fit together. Labs include complete source; the FollowBot walkthrough teaches you to build your own bot from selected fragments and checkpoints.

DPB2 0.4.5.103 · Reference reviewed 2026-10-30. Descriptions use source summaries where available, otherwise concise signature-based descriptions. Examples illustrate usage; they are not a live-game test.