* Engine namespace changes.
* Automated remove redundant using statements.
* Simplified Graphics namespace.
* Apparently the container system stores full type names in the map file.😞 This updates those names.
* API Changes to LocalizationManager.LoadCulture.
* Update submodule to v0.3.2
55 lines
1.5 KiB
C#
55 lines
1.5 KiB
C#
using System;
|
|
using Robust.Shared.GameObjects;
|
|
using Robust.Shared.Serialization;
|
|
|
|
namespace Content.Shared.GameObjects.Components.Research
|
|
{
|
|
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;
|
|
}
|
|
}
|
|
}
|
|
}
|