public TaskManager.TaskManager()
Creates a new TaskManager instance.
Coordinates task. Use its members to discover the current selection and supported operations.
Namespace: DreamPoeBot.Loki.Bot
public class TaskManagerSearch includes inherited members below. 17 matching inherited members →
public TaskManager.TaskManager()
Creates a new TaskManager instance.
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.
Task<LogicResult>Named values for logic result. Select a value when an API accepts or returns LogicResult.
groupTaskGroupSpecifies group.
behaviorRunBehaviorSpecifies behavior.
logicLogicSpecifies logic.
Returns: After awaiting: Provided if at least one selected task provided the request, otherwise Unprovided.
public override Task<RunTasksResult> TaskManager.Run(TaskGroup group, RunBehavior behavior)
Awaits tasks in list order, filtered by TaskGroup. UntilHandled ends this pass at the first task returning true; All continues through the selected tasks. The next call starts from the beginning. This is sequential cooperation, not parallel execution or preemption.
Task<RunTasksResult>Named values for run tasks result. Select a value when an API accepts or returns RunTasksResult.
groupTaskGroupSpecifies group.
behaviorRunBehaviorSpecifies behavior.
Returns: After awaiting: TasksRan if at least one selected task returned true; NoTasksRan otherwise. NoTasksRan can also mean tasks were called but all returned false.
public override MessageResult TaskManager.SendMessage(TaskGroup group, Message message)
Synchronously sends the message to every task in the selected group. A Processed response does not stop delivery to later tasks. Keep handlers short and use Logic or Run for awaited work.
MessageResultNamed values for message result. Select a value when an API accepts or returns MessageResult.
groupTaskGroupSpecifies group.
messageMessageSpecifies message.
Returns: Processed if at least one selected task processed the message, otherwise Unprocessed.
public override void TaskManager.Start()
Calls Start on every registered task, including disabled tasks. Register base tasks and allow plugin insertion before this call. An exception interrupts this loop, so the host must handle partial startup and cleanup.
voidNo return value.public override void TaskManager.Stop()
Calls Stop on every registered task. An exception interrupts this loop; a host requiring best-effort cleanup must attempt each task's Stop independently.
voidNo return value.public override void TaskManager.Tick()
Calls Tick on every registered task when the client is in game, including disabled tasks. This does not call Run. Keep state updates short; the owning bot must drive the manager.
voidNo return value.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.
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.