* Work on cartridges * Work on PDA UI * Work on PDA UIs program list * Work on PDA UI borders * Add DeviceNetworkingComponent to the pda base prototype * Fix submodule version * Fix cartridge loader ui key * Fix pda menu xaml * Implement relaying ui messages * Finish implementing the notekeeper cartridge * Fix submodule version * Fix errors from merging master * Fix test failing * Implement setting preinstalled programs * Add some documentation to CartridgeLoaderSystem * Add more doc comments * Add localization to program names * Implement review suggestions * Fix background programs receiving events twice when active
19 lines
641 B
C#
19 lines
641 B
C#
using Content.Shared.CartridgeLoader;
|
|
using Robust.Shared.Serialization.TypeSerializers.Implementations;
|
|
|
|
namespace Content.Server.CartridgeLoader;
|
|
|
|
[RegisterComponent]
|
|
[ComponentReference(typeof(SharedCartridgeLoaderComponent))]
|
|
public sealed class CartridgeLoaderComponent : SharedCartridgeLoaderComponent
|
|
{
|
|
/// <summary>
|
|
/// The maximum amount of programs that can be installed on the cartridge loader entity
|
|
/// </summary>
|
|
[DataField("diskSpace")]
|
|
public int DiskSpace = 5;
|
|
|
|
[DataField("uiKey", readOnly: true, required: true, customTypeSerializer: typeof(EnumSerializer))]
|
|
public Enum UiKey = default!;
|
|
}
|