~ruther/NosSmooth

ref: a0c4a350ec6987b5c8ca841858c116ee66f1b2e7 NosSmooth/Core/NosSmooth.Game/Events/Map/MapChangedEvent.cs -rw-r--r-- 503 bytes
a0c4a350 — František Boháček feat(game): add event constraint for IEveryGameResponder Respond 2 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//
//  MapChangedEvent.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.Events.Map;

/// <summary>
/// A map has been changed.
/// </summary>
/// <param name="PreviousMap">The previous map.</param>
/// <param name="CurrentMap">The new map.</param>
public record MapChangedEvent
(
    Data.Maps.Map? PreviousMap,
    Data.Maps.Map CurrentMap
) : IGameEvent;