namespace Dalamud.Plugin.Services;
///
/// This class represents the state of the currently occupied duty.
///
public interface IDutyState
{
///
/// 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.
///
public event EventHandler DutyStarted;
///
/// Event that gets fired when everyone in the party dies and the screen fades to black.
///
public event EventHandler DutyWiped;
///
/// Event that gets fired when the "Duty Recommence" message displays, and on the removal of the ring at duty's spawn.
///
public event EventHandler DutyRecommenced;
///
/// Event that gets fired when the duty is completed successfully.
///
public event EventHandler DutyCompleted;
///
/// Gets a value indicating whether the current duty has been started.
///
public bool IsDutyStarted { get; }
}