Vixen
c7401864
csharp
public sealed class InstanceRun

One group's run through one instance.

Read the guide page for this →

Remarks

Doc 27's Instance shard kind with gameplay on top. What is here is the run: which difficulty, who is in it, how far they got, and what a wipe costs them.

⚠ The difficulty is chosen once and cannot change. A lockout is per (instance, difficulty), so a group that could switch halfway would have one lockout covering two — which is the shape of every "clear it on normal then swap to heroic" exploit.

⚠ A lockout is issued on the first defeat, not on entry. Somebody who walked in, saw the group fall apart and left has not used their week; somebody who killed the first boss has. It is issued once and extended never — a second kill on the same run must not push the reset out.

⚠ A wipe resets what was being fought and nothing else. A boss that is dead stays dead — that is what makes a raid night's progress progress — and Checkpoint says where to resume from. What a wipe costs is the attempt.

Fields and properties (8)

  • public Instance Instance

    Which instance.

  • public Difficulty Difficulty

    Which difficulty. Fixed for the life of the run.

  • public IReadOnlyList<PlayerId> Participants

    Who is in it.

  • public bool IsCleared

    Whether every fight is beaten.

  • public bool IsClosed

    Whether the run has been closed.

  • public int Defeated

    How many fights have been beaten.

  • public int Checkpoint

    The furthest checkpoint reached, or −1 for none.

  • public bool IsLocked

    Whether a lockout has been issued for this run.

Events (1)

  • public Action<int, EncounterStatus>? Changed

    Raised whenever a fight changes state.

Methods (8)

Used by (1)

  • InstanceRunTestsVixen.Gameplay.Instances.Tests