DPB1Class ยท Bots, plugins and tasks

BotManager

Discover installed bots, inspect the selected bot and observe or control its lifecycle.

Namespace: DreamPoeBot.Loki.Bot

public static class BotManagerView DPB2 version โ†’

Examples

Imports used by these examples
using System;
using System.Linq;
using DreamPoeBot.Loki.Game;
using DreamPoeBot.Loki.Game.Objects;
using DreamPoeBot.Loki.Bot;
using DreamPoeBot.Loki.Bot.Pathfinding;
using DreamPoeBot.Loki.Common;

Check the selected bot

var bot = BotManager.Current;
if (bot == null || !BotManager.IsRunning)
    return;

var botName = bot.Name;

Observe the current selection without starting or stopping it.

Members and overloads

1 results
Show all members

PreStart

EventLink โ†—
public static BotManager.BotEvent BotManager.PreStart

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

Related types

DPB1 0.3.29.47 ยท Reference reviewed 2026-10-02. Descriptions use source summaries where available, otherwise concise signature-based descriptions. Examples illustrate usage; they are not a live-game test.