DPB2Class ยท 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 DPB1 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

OnClientFrozen

EventLink โ†—
public static EventHandler<ClientFrozenEventArgs> BotManager.OnClientFrozen

Raised for on client frozen. Subscribe with the callback type shown in the signature.

Related types

DPB2 0.4.5.88 ยท 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.