News UI overhaul and PDA notifications (#19610)
This commit is contained in:
@@ -8,7 +8,7 @@ public sealed partial class CartridgeLoaderComponent : Component
|
||||
{
|
||||
public const string CartridgeSlotId = "Cartridge-Slot";
|
||||
|
||||
[DataField("cartridgeSlot")]
|
||||
[DataField]
|
||||
public ItemSlot CartridgeSlot = new();
|
||||
|
||||
/// <summary>
|
||||
@@ -32,9 +32,16 @@ public sealed partial class CartridgeLoaderComponent : Component
|
||||
/// <summary>
|
||||
/// The maximum amount of programs that can be installed on the cartridge loader entity
|
||||
/// </summary>
|
||||
[DataField("diskSpace")]
|
||||
[DataField]
|
||||
public int DiskSpace = 5;
|
||||
|
||||
[DataField("uiKey", required: true)]
|
||||
/// <summary>
|
||||
/// Controls whether the cartridge loader will play notifications if it supports it at all
|
||||
/// TODO: Add an option for this to the PDA
|
||||
/// </summary>
|
||||
[DataField]
|
||||
public bool NotificationsEnabled = true;
|
||||
|
||||
[DataField(required: true)]
|
||||
public Enum UiKey = default!;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user