~ruther/NosSmooth

ref: aa2fdc4455c4df918f5e0a42b22216fd0856350b NosSmooth/Core/NosSmooth.Game/Data/Raids/RaidState.cs -rw-r--r-- 1.2 KiB
aa2fdc44 — František Boháček feat(packets): make lists and conditional parameters non-optional non-nullable 2 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
//
//  RaidState.cs
//
//  Copyright (c) František Boháček. All rights reserved.
//  Licensed under the MIT license. See LICENSE file in the project root for full license information.

namespace NosSmooth.Game.Data.Raids;

/// <summary>
/// A state of a <see cref="Raid"/>.
/// </summary>
public enum RaidState
{
    /// <summary>
    /// Waiting for a raid start.
    /// </summary>
    Waiting,

    /// <summary>
    /// The raid has started, the current room is not boss room.
    /// </summary>
    Started,

    /// <summary>
    /// The raid has started and the current room is boss room.
    /// </summary>
    BossFight,

    /// <summary>
    /// The raid has ended, successfully.
    /// </summary>
    EndedSuccessfully,

    /// <summary>
    /// The raid has ended unsuccessfully. The whole team has failed.
    /// </summary>
    TeamFailed,

    /// <summary>
    /// The raid has ended unsuccessfully for the character. He ran out of lifes.
    /// </summary>
    MemberFailed,

    /// <summary>
    /// The character has left the raid.
    /// </summary>
    /// <remarks>
    /// The previous state is needed to be able to tell whether
    /// the raid was already started or was in the <see cref="Waiting"/> state.
    /// </remarks>
    Left
}
Do not follow this link