~ruther/NosSmooth

ref: 41e23e7d2153e2788480fa7f85d1248ef2225196 NosSmooth/Core/NosSmooth.Game/Events/Raids/RaidStateChangedEvent.cs -rw-r--r-- 816 bytes
41e23e7d — Rutherther Merge pull request #68 from plsfixrito/NpcOwnerId 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
//
//  RaidStateChangedEvent.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.

using NosSmooth.Game.Data.Raids;

namespace NosSmooth.Game.Events.Raids;

/// <summary>
/// A raid <see cref="Raid"/> has changed a state from <see cref="PreviousState"/> to <see cref="CurrentState"/>.
/// </summary>
/// <param name="PreviousState">The previous state of the raid.</param>
/// <param name="CurrentState">The current state of the raid.</param>
/// <param name="Raid">The raid that has changed the state. The current raid, or the last one in case the raid was finished.</param>
public record RaidStateChangedEvent
(
    RaidState PreviousState,
    RaidState CurrentState,
    Raid Raid
) : IGameEvent;
Do not follow this link