Table of Contents

Interface IRecoveryAutomation

Namespace
AcDream.Plugin.Abstractions
Assembly
AcDream.Plugin.Abstractions.dll

Manual escape hatches for a session that has got stuck, meant to be driven by a person watching the client rather than automatically.

public interface IRecoveryAutomation

Methods

CaptureBusyState()

The busy references the client still holds; default when no session is bound.

PluginBusyState CaptureBusyState()

Returns

PluginBusyState

ClearOneBusyReference()

Release one of the references that mark the character as busy with an action. The client counts the actions it is still waiting on and refuses new ones while that count is above zero, so a reply that never arrives can leave the character stuck; this clears exactly one such reference.

PluginRecoveryResult ClearOneBusyReference()

Returns

PluginRecoveryResult

The counts before and after, or a result whose Accepted is false when no session is bound or the host offers no recovery, which is what the default implementation always returns.