public TaskManagerBase<T>.TaskEvent TaskManagerBase<T>.TaskDisabled
Raised for task disabled. Subscribe with the callback type shown in the signature.
Arrange tasks into a workflow and run them using the selected group and run behavior. Task order affects which work runs first.
Namespace: DreamPoeBot.Loki.Bot
public class TaskManagerBase<T> where T : IAuthoredView DPB1 version →public TaskManagerBase<T>.TaskEvent TaskManagerBase<T>.TaskDisabled
Raised for task disabled. Subscribe with the callback type shown in the signature.
public TaskManagerBase<T>.TaskEvent TaskManagerBase<T>.TaskEnabled
Raised for task enabled. Subscribe with the callback type shown in the signature.
protected TaskManagerBase<T>.TaskManagerBase()
Creates a new TaskManagerBase instance.
public bool TaskManagerBase<T>.Add(T task)
Executes the add operation with the supplied arguments.
taskTReturns: A Boolean result. The member description explains the condition being checked.
public bool TaskManagerBase<T>.AddAfter(T task, string name)
Adds after using the supplied arguments.
taskTnamestringReturns: A Boolean result. The member description explains the condition being checked.
public bool TaskManagerBase<T>.AddAtFront(T task)
Adds at front using the supplied arguments.
taskTReturns: A Boolean result. The member description explains the condition being checked.
public bool TaskManagerBase<T>.AddBefore(T task, string name)
Adds before using the supplied arguments.
taskTnamestringReturns: A Boolean result. The member description explains the condition being checked.
public void TaskManagerBase<T>.Disable(T task)
Executes the disable operation with the supplied arguments.
taskTpublic void TaskManagerBase<T>.Enable(T task)
Executes the enable operation with the supplied arguments.
taskTpublic void TaskManagerBase<T>.Freeze()
Executes the freeze operation.
public T TaskManagerBase<T>.GetTaskByName(string name)
Returns task by name using the supplied arguments.
namestringReturns: The T result.
public bool TaskManagerBase<T>.IsEnabled(T task)
Checks whether enabled using the supplied arguments.
taskTReturns: A Boolean result. The member description explains the condition being checked.
public abstract Task<LogicResult> TaskManagerBase<T>.ProvideLogic(TaskGroup group, RunBehavior behavior, Logic logic)
Executes the provide logic operation with the supplied arguments.
groupTaskGroupbehaviorRunBehaviorlogicLogicReturns: An asynchronous operation. Await it before reading the result or continuing the workflow.
public bool TaskManagerBase<T>.Remove(string name)
Executes the remove operation with the supplied arguments.
namestringReturns: A Boolean result. The member description explains the condition being checked.
public bool TaskManagerBase<T>.Replace(string name, T task)
Executes the replace operation with the supplied arguments.
namestringtaskTReturns: A Boolean result. The member description explains the condition being checked.
public void TaskManagerBase<T>.Reset()
Executes the reset operation.
public abstract Task<RunTasksResult> TaskManagerBase<T>.Run(TaskGroup group, RunBehavior behavior)
Runs this component's work and returns the result shown in the signature.
groupTaskGroupbehaviorRunBehaviorReturns: An asynchronous operation. Await it before reading the result or continuing the workflow.
public abstract MessageResult TaskManagerBase<T>.SendMessage(TaskGroup group, Message message)
Sends message using the supplied arguments.
groupTaskGroupmessageMessageReturns: The MessageResult result.
public abstract void TaskManagerBase<T>.Start()
Starts this component's lifecycle.
public abstract void TaskManagerBase<T>.Stop()
Stops this component's lifecycle.
public bool TaskManagerBase<T>.SwapTasks(string name1, string name2)
Executes the swap tasks operation with the supplied arguments.
name1stringname2stringReturns: A Boolean result. The member description explains the condition being checked.
public abstract void TaskManagerBase<T>.Tick()
Updates this component for the current bot tick. Keep repeated work short.
public bool TaskManagerBase<T>.IsFrozen { get; private set; }
Whether this task manager base is frozen.
public ReadOnlyCollection<T> TaskManagerBase<T>.TaskList { get; }
Gets task list for TaskManagerBase.
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.