-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathServerWipedEvent.cs
More file actions
16 lines (15 loc) · 859 Bytes
/
Copy pathServerWipedEvent.cs
File metadata and controls
16 lines (15 loc) · 859 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
namespace RustPlusBot.Abstractions.Events;
/// <summary>Published when a reconnected server's wipe baseline no longer matches (the server wiped while we were away or restarting).</summary>
/// <param name="GuildId">The owning guild snowflake.</param>
/// <param name="ServerId">The wiped server id.</param>
/// <param name="PreviousWipeTimeUtc">The baseline wipe time before this wipe, or null if never observed.</param>
/// <param name="NewWipeTimeUtc">The freshly observed wipe time, or null when the server does not report one.</param>
/// <param name="Seed">The new procedural map seed.</param>
/// <param name="WorldSize">The new world size (game units).</param>
public sealed record ServerWipedEvent(
ulong GuildId,
Guid ServerId,
DateTimeOffset? PreviousWipeTimeUtc,
DateTimeOffset? NewWipeTimeUtc,
uint Seed,
uint WorldSize);