Skip to main content
Version: 14.x (API 14) [Legacy]

Interface IDutyState

This class represents the state of the currently occupied duty.

Assembly: Dalamud.dll
Declaration
public interface IDutyState : IDalamudService

Properties

ContentFinderCondition

Gets a RowRef to the current ContentFinderCondition row.

Declaration
RowRef<ContentFinderCondition> ContentFinderCondition { get; }

IsDutyStarted

Gets a value indicating whether the current duty has been started.

Declaration
bool IsDutyStarted { get; }

Events

DutyStarted

Event that gets fired when the duty starts. Triggers when the "Duty Start" message displays, and on the removal of the ring at duty's spawn. Does not trigger when loading into a duty that was in progress, or from loading in after a disconnect.

Declaration
event Action<DutyStateEventArgs> DutyStarted
Event Type

System.Action<Dalamud.Game.DutyState.DutyStateEventArgs>

DutyWiped

Event that gets fired when everyone in the party dies and the screen fades to black.

Declaration
event Action<DutyStateEventArgs> DutyWiped
Event Type

System.Action<Dalamud.Game.DutyState.DutyStateEventArgs>

DutyRecommenced

Event that gets fired when the "Duty Recommence" message displays, and on the removal of the ring at duty's spawn.

Declaration
event Action<DutyStateEventArgs> DutyRecommenced
Event Type

System.Action<Dalamud.Game.DutyState.DutyStateEventArgs>

DutyCompleted

Event that gets fired when the duty is completed successfully.

Declaration
event Action<DutyStateEventArgs> DutyCompleted
Event Type

System.Action<Dalamud.Game.DutyState.DutyStateEventArgs>