Re-organize all projects (#4166)
This commit is contained in:
@@ -0,0 +1,57 @@
|
||||
#nullable enable
|
||||
using System;
|
||||
using Content.Shared.NetIDs;
|
||||
using Robust.Shared.GameObjects;
|
||||
using Robust.Shared.Serialization;
|
||||
|
||||
namespace Content.Shared.Research.Components
|
||||
{
|
||||
public class SharedResearchConsoleComponent : Component
|
||||
{
|
||||
public override string Name => "ResearchConsole";
|
||||
public override uint? NetID => ContentNetIDs.RESEARCH_CONSOLE;
|
||||
|
||||
[NetSerializable, Serializable]
|
||||
public enum ResearchConsoleUiKey
|
||||
{
|
||||
Key,
|
||||
}
|
||||
|
||||
[Serializable, NetSerializable]
|
||||
public class ConsoleUnlockTechnologyMessage : BoundUserInterfaceMessage
|
||||
{
|
||||
public string Id;
|
||||
|
||||
public ConsoleUnlockTechnologyMessage(string id)
|
||||
{
|
||||
Id = id;
|
||||
}
|
||||
}
|
||||
|
||||
[Serializable, NetSerializable]
|
||||
public class ConsoleServerSyncMessage : BoundUserInterfaceMessage
|
||||
{
|
||||
public ConsoleServerSyncMessage()
|
||||
{}
|
||||
}
|
||||
|
||||
[Serializable, NetSerializable]
|
||||
public class ConsoleServerSelectionMessage : BoundUserInterfaceMessage
|
||||
{
|
||||
public ConsoleServerSelectionMessage()
|
||||
{}
|
||||
}
|
||||
|
||||
[Serializable, NetSerializable]
|
||||
public sealed class ResearchConsoleBoundInterfaceState : BoundUserInterfaceState
|
||||
{
|
||||
public int Points;
|
||||
public int PointsPerSecond;
|
||||
public ResearchConsoleBoundInterfaceState(int points, int pointsPerSecond)
|
||||
{
|
||||
Points = points;
|
||||
PointsPerSecond = pointsPerSecond;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user