Content update for NetEntities (#18935)

This commit is contained in:
metalgearsloth
2023-09-11 09:42:41 +10:00
committed by GitHub
parent 389c8d1a2c
commit 5a0fc68be2
526 changed files with 3058 additions and 2215 deletions

View File

@@ -32,12 +32,12 @@ public sealed class GeneralStationRecordConsoleState : BoundUserInterfaceState
/// <summary>
/// Current selected key.
/// </summary>
public StationRecordKey? SelectedKey { get; }
public (NetEntity, uint)? SelectedKey { get; }
public GeneralStationRecord? Record { get; }
public Dictionary<StationRecordKey, string>? RecordListing { get; }
public Dictionary<(NetEntity, uint), string>? RecordListing { get; }
public GeneralStationRecordsFilter? Filter { get; }
public GeneralStationRecordConsoleState(StationRecordKey? key, GeneralStationRecord? record,
Dictionary<StationRecordKey, string>? recordListing, GeneralStationRecordsFilter? newFilter)
public GeneralStationRecordConsoleState((NetEntity, uint)? key, GeneralStationRecord? record,
Dictionary<(NetEntity, uint), string>? recordListing, GeneralStationRecordsFilter? newFilter)
{
SelectedKey = key;
Record = record;
@@ -52,9 +52,9 @@ public sealed class GeneralStationRecordConsoleState : BoundUserInterfaceState
[Serializable, NetSerializable]
public sealed class SelectGeneralStationRecord : BoundUserInterfaceMessage
{
public StationRecordKey? SelectedKey { get; }
public (NetEntity, uint)? SelectedKey { get; }
public SelectGeneralStationRecord(StationRecordKey? selectedKey)
public SelectGeneralStationRecord((NetEntity, uint)? selectedKey)
{
SelectedKey = selectedKey;
}