-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMapMarkersChangedEvent.cs
More file actions
18 lines (16 loc) · 975 Bytes
/
Copy pathMapMarkersChangedEvent.cs
File metadata and controls
18 lines (16 loc) · 975 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
using RustPlusBot.Abstractions.Connections;
namespace RustPlusBot.Abstractions.Events;
/// <summary>Published when a marker poll detects markers that appeared, disappeared, or moved since the previous poll.</summary>
/// <param name="GuildId">The owning guild snowflake.</param>
/// <param name="ServerId">The target server id.</param>
/// <param name="Dimensions">Map dimensions for grid-reference rendering, or null if unavailable.</param>
/// <param name="Added">Markers present now that were absent in the previous poll.</param>
/// <param name="Removed">Markers absent now that were present in the previous poll.</param>
/// <param name="Moved">Markers present in both polls whose position or rotation changed.</param>
public sealed record MapMarkersChangedEvent(
ulong GuildId,
Guid ServerId,
MapDimensions? Dimensions,
IReadOnlyList<MapMarkerSnapshot> Added,
IReadOnlyList<MapMarkerSnapshot> Removed,
IReadOnlyList<MapMarkerSnapshot> Moved);