2019-09-03 22:51:19 +02:00
|
|
|
using Robust.Shared.Serialization;
|
|
|
|
|
|
2021-06-09 22:19:39 +02:00
|
|
|
namespace Content.Shared.Research.Components
|
2019-09-03 22:51:19 +02:00
|
|
|
{
|
2022-06-28 22:54:08 +10:00
|
|
|
[NetSerializable, Serializable]
|
|
|
|
|
public enum ResearchConsoleUiKey : byte
|
2019-09-03 22:51:19 +02:00
|
|
|
{
|
2022-06-28 22:54:08 +10:00
|
|
|
Key,
|
|
|
|
|
}
|
2019-09-03 22:51:19 +02:00
|
|
|
|
2022-06-28 22:54:08 +10:00
|
|
|
[Serializable, NetSerializable]
|
|
|
|
|
public sealed class ConsoleUnlockTechnologyMessage : BoundUserInterfaceMessage
|
|
|
|
|
{
|
|
|
|
|
public string Id;
|
2019-09-03 22:51:19 +02:00
|
|
|
|
2022-06-28 22:54:08 +10:00
|
|
|
public ConsoleUnlockTechnologyMessage(string id)
|
2019-09-03 22:51:19 +02:00
|
|
|
{
|
2022-06-28 22:54:08 +10:00
|
|
|
Id = id;
|
2019-09-03 22:51:19 +02:00
|
|
|
}
|
2022-06-28 22:54:08 +10:00
|
|
|
}
|
2019-09-03 22:51:19 +02:00
|
|
|
|
2022-06-28 22:54:08 +10:00
|
|
|
[Serializable, NetSerializable]
|
|
|
|
|
public sealed class ConsoleServerSelectionMessage : BoundUserInterfaceMessage
|
|
|
|
|
{
|
2022-12-25 16:22:23 -05:00
|
|
|
|
2022-06-28 22:54:08 +10:00
|
|
|
}
|
2019-09-03 22:51:19 +02:00
|
|
|
|
2022-06-28 22:54:08 +10:00
|
|
|
[Serializable, NetSerializable]
|
|
|
|
|
public sealed class ResearchConsoleBoundInterfaceState : BoundUserInterfaceState
|
|
|
|
|
{
|
|
|
|
|
public int Points;
|
2023-05-15 16:17:30 -04:00
|
|
|
public ResearchConsoleBoundInterfaceState(int points)
|
2019-09-03 22:51:19 +02:00
|
|
|
{
|
2022-06-28 22:54:08 +10:00
|
|
|
Points = points;
|
2019-09-03 22:51:19 +02:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|