public bool WaitTimer.IsFinished { get; }
Whether this wait timer is finished.
boolNo current DPB page is linked for this built-in, external, generic or compatibility-only type.Track a time interval without blocking the bot. Keep the same timer instance between ticks and reset it after the periodic work.
Namespace: DreamPoeBot.Loki.Common
public class WaitTimerpublic bool WaitTimer.IsFinished { get; }
Whether this wait timer is finished.
boolNo current DPB page is linked for this built-in, external, generic or compatibility-only type.Only examples explicitly associated with this declaration are shown.
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;public sealed class PeriodicCheck
{
private readonly WaitTimer _timer = new WaitTimer(TimeSpan.FromSeconds(1));
public void Start() { _timer.Stop(); } // First check is immediately eligible.
public void Tick()
{
if (!_timer.IsFinished) return;
_timer.Reset();
// Perform one bounded check here.
}
}Requires System and DreamPoeBot.Loki.Common. This is a helper class, not a discoverable plugin: own one instance in your component and call its Start/Tick. The timer is a field, so it survives between ticks. Stop makes this timer eligible; it does not suspend the component.
These guides refer to WaitTimer as a whole and may use other members. They are not dedicated examples of the selected member.
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.
DPB1 0.3.29.56 · 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.