public static int BotManager.MsBeforeNextTick { get; set; }
Gets the residual wait calculated for the current cycle, or zero when no cadence wait is pending. Setting this property configures the same cycle minimum as MsBetweenTicks; it does not enqueue an additional delay.
Value type:intNo current DPB page is linked for this built-in, external, generic or compatibility-only type.
public static int BotManager.MsBetweenTicks { get; set; }
Gets or sets the minimum duration of the complete synchronous tick cycle, including PreTick and PostTick. Work already performed is subtracted from the single wait; slow cycles do not cause catch-up. Compatibility alias for the minimum configured through MsBeforeNextTick. Zero disables cadence throttling; only a nonblocking stop check remains.
Value type:intNo current DPB page is linked for this built-in, external, generic or compatibility-only type.
public static DateTime BotManager.TimeOfLastTick { get; }
Reads time of last tick on BotManager as DateTime. The exact type and accessors are shown below.
Value type:DateTimeNo current DPB page is linked for this built-in, external, generic or compatibility-only type.
Class usage examples
These examples demonstrate the class, not every member listed above. Each example links the declarations it teaches.
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.
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.
Произошла ошибка. Перезагрузите страницу, чтобы продолжить.
Перезагрузить🗙