~ruther/NosSmooth

ref: 1c4c9a94a92e3968b63d81366b33beae14ae35d9 NosSmooth/Core/NosSmooth.Game/Events/Map/MapChangedEvent.cs -rw-r--r-- 503 bytes
1c4c9a94 — Rutherther fix(packets): add missing constructor to PreqPacket 3 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;