Files
crystall-punk-14/Content.Shared/Research/Components/SharedResearchConsoleComponent.cs

38 lines
851 B
C#
Raw Permalink Normal View History

using Robust.Shared.Serialization;
2021-06-09 22:19:39 +02:00
namespace Content.Shared.Research.Components
{
2022-06-28 22:54:08 +10:00
[NetSerializable, Serializable]
public enum ResearchConsoleUiKey : byte
{
2022-06-28 22:54:08 +10:00
Key,
}
2022-06-28 22:54:08 +10:00
[Serializable, NetSerializable]
public sealed class ConsoleUnlockTechnologyMessage : BoundUserInterfaceMessage
{
public string Id;
2022-06-28 22:54:08 +10:00
public ConsoleUnlockTechnologyMessage(string id)
{
2022-06-28 22:54:08 +10:00
Id = id;
}
2022-06-28 22:54:08 +10:00
}
2022-06-28 22:54:08 +10:00
[Serializable, NetSerializable]
public sealed class ConsoleServerSelectionMessage : BoundUserInterfaceMessage
{
2022-06-28 22:54:08 +10:00
}
2022-06-28 22:54:08 +10:00
[Serializable, NetSerializable]
public sealed class ResearchConsoleBoundInterfaceState : BoundUserInterfaceState
{
public int Points;
public ResearchConsoleBoundInterfaceState(int points)
{
2022-06-28 22:54:08 +10:00
Points = points;
}
}
}