Fix RoundStartTimeSpan not being networked on client-side after reconnecting (#23707)

Fix RoundStartTimeSpan state not being networked on reconnections
This commit is contained in:
DoutorWhite
2024-01-07 21:30:10 -03:00
committed by GitHub
parent c4a99c129b
commit 31133ef788
4 changed files with 23 additions and 1 deletions

View File

@@ -63,6 +63,15 @@ namespace Content.Shared.GameTicking
}
}
[Serializable, NetSerializable]
public sealed class TickerConnectionStatusEvent : EntityEventArgs
{
public TimeSpan RoundStartTimeSpan { get; }
public TickerConnectionStatusEvent(TimeSpan roundStartTimeSpan)
{
RoundStartTimeSpan = roundStartTimeSpan;
}
}
[Serializable, NetSerializable]
public sealed class TickerLobbyStatusEvent : EntityEventArgs