DPB1Class · Bots, plugins and tasks

TaskManager

Coordinates task. Use its members to discover the current selection and supported operations.

Namespace: DreamPoeBot.Loki.Bot

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

Members and overloads

1 declared here

Search includes inherited members below. 17 matching inherited members →

Show all members

ProvideLogic

MethodLink ↗
public override Task<LogicResult> TaskManager.ProvideLogic(TaskGroup group, RunBehavior behavior, Logic logic)

Passes the same Logic request to selected tasks in list order and awaits each response. UntilHandled stops at the first Provided; All continues. The owning bot must call this method: a logic ID is not an automatic event.

Return type: Task<LogicResult>
Explore LogicResult → members & methods

Named values for logic result. Select a value when an API accepts or returns LogicResult.

Parameters

group

Specifies group.

behavior

Specifies behavior.

logic

Specifies logic.

Returns: After awaiting: Provided if at least one selected task provided the request, otherwise Unprovided.

Inherited members and contracts

17 public members from documented base types and interfaces. Links open the original declaration; overrides are shown only once. Search using the member field above.

public bool TaskManagerBase<T>.Add(T task) Declared by TaskManagerBase<T>

Calls Add on TaskManagerBase<T> with task and returns bool. Open the return contract below before using the result.

public bool TaskManagerBase<T>.AddAfter(T task, string name) Declared by TaskManagerBase<T>

Adds after using the supplied arguments.

public bool TaskManagerBase<T>.AddAtFront(T task) Declared by TaskManagerBase<T>

Adds at front using the supplied arguments.

public bool TaskManagerBase<T>.AddBefore(T task, string name) Declared by TaskManagerBase<T>

Adds before using the supplied arguments.

public void TaskManagerBase<T>.Disable(T task) Declared by TaskManagerBase<T>

Calls Disable on TaskManagerBase<T> with task. This overload has no return value.

public void TaskManagerBase<T>.Enable(T task) Declared by TaskManagerBase<T>

Calls Enable on TaskManagerBase<T> with task. This overload has no return value.

public void TaskManagerBase<T>.Freeze() Declared by TaskManagerBase<T>

Calls Freeze on TaskManagerBase<T> without arguments. This overload has no return value.

public T TaskManagerBase<T>.GetTaskByName(string name) Declared by TaskManagerBase<T>

Calls GetTaskByName on TaskManagerBase<T> with name and returns T. Open the return contract below before using the result.

public bool TaskManagerBase<T>.IsEnabled(T task) Declared by TaskManagerBase<T>

Checks whether enabled using the supplied arguments.

public bool TaskManagerBase<T>.IsFrozen { get; private set; } Declared by TaskManagerBase<T>

Whether this task manager base is frozen.

public bool TaskManagerBase<T>.Remove(string name) Declared by TaskManagerBase<T>

Calls Remove on TaskManagerBase<T> with name and returns bool. Open the return contract below before using the result.

public bool TaskManagerBase<T>.Replace(string name, T task) Declared by TaskManagerBase<T>

Calls Replace on TaskManagerBase<T> with name, task and returns bool. Open the return contract below before using the result.

public void TaskManagerBase<T>.Reset() Declared by TaskManagerBase<T>

Calls Reset on TaskManagerBase<T> without arguments. This overload has no return value.

public bool TaskManagerBase<T>.SwapTasks(string name1, string name2) Declared by TaskManagerBase<T>

Calls SwapTasks on TaskManagerBase<T> with name1, name2 and returns bool. Open the return contract below before using the result.

public TaskManagerBase<T>.TaskEvent TaskManagerBase<T>.TaskDisabled Declared by TaskManagerBase<T>

Raised for task disabled. Subscribe with the callback type shown in the signature.

public TaskManagerBase<T>.TaskEvent TaskManagerBase<T>.TaskEnabled Declared by TaskManagerBase<T>

Raised for task enabled. Subscribe with the callback type shown in the signature.

public ReadOnlyCollection<T> TaskManagerBase<T>.TaskList { get; } Declared by TaskManagerBase<T>

Reads task list on TaskManagerBase<T> as ReadOnlyCollection<T>. The exact type and accessors are shown below.

No dedicated example has been reviewed for this member. Browse the class reference; its examples may demonstrate other operations.

Guides using this class

These guides refer to TaskManager 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.