Hours panel2 (#886)

This commit is contained in:
BIGZi0348
2025-02-09 19:56:26 +03:00
committed by GitHub
6 changed files with 132 additions and 5 deletions

View File

@@ -0,0 +1,25 @@
using Robust.Shared.Serialization;
namespace Content.Shared._White.Administration;
[Serializable, NetSerializable]
public sealed class HoursPanelMessageToServer : EntityEventArgs
{
public string PlayerCKey { get; }
public string Job { get; }
public HoursPanelMessageToServer(string playerCKey, string job)
{
PlayerCKey = playerCKey;
Job = job;
}
}
[Serializable, NetSerializable]
public sealed class HoursPanelMessageToClient : EntityEventArgs
{
public TimeSpan Time { get; }
public HoursPanelMessageToClient(TimeSpan time)
{
Time = time;
}
}