Ломает панель накрутки
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
using Robust.Shared.Serialization;
|
||||
|
||||
namespace Content.Shared._White.Administration;
|
||||
|
||||
[Serializable, NetSerializable]
|
||||
public sealed class HoursPanelMessage : EntityEventArgs
|
||||
{
|
||||
public string PlayerCKey { get; }
|
||||
public string Job { get; }
|
||||
public TimeSpan? Time { get; }
|
||||
public HoursPanelMessage(string playerCKey, string job, TimeSpan? time = null)
|
||||
{
|
||||
PlayerCKey = playerCKey;
|
||||
Job = job;
|
||||
Time = time;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
using Robust.Shared.Network;
|
||||
using Robust.Shared.Serialization;
|
||||
|
||||
namespace Content.Shared._White.Administration;
|
||||
|
||||
public abstract class SharedHoursPanelSystem : EntitySystem
|
||||
{
|
||||
public override void Initialize()
|
||||
{
|
||||
base.Initialize();
|
||||
|
||||
SubscribeNetworkEvent<HoursPanelMessage>(OnHoursPanelMessage);
|
||||
}
|
||||
|
||||
protected virtual void OnHoursPanelMessage(HoursPanelMessage message, EntitySessionEventArgs eventArgs)
|
||||
{
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user