Show / Hide Table of Contents

Class GeneralStationRecordConsoleState

General station records console state. There are a few states:

  • SelectedKey null, Record null, RecordListing null

  • The station record database could not be accessed.

  • SelectedKey null, Record null, RecordListing non-null

  • Records are populated in the database, or at least the station has the correct component.

  • SelectedKey non-null, Record null, RecordListing non-null

  • The selected key does not have a record tied to it.

  • SelectedKey non-null, Record non-null, RecordListing non-null

  • The selected key has a record tied to it, and the record has been sent.

  • there is added new filters and so added new states -SelectedKey null, Record null, RecordListing null, filters non-null the station may have data, but they all did not pass through the filters

Other states are erroneous.

Inheritance
System.Object
GeneralStationRecordConsoleState
Namespace: Content.Shared.StationRecords
Assembly: Content.Shared.dll
Syntax
public sealed class GeneralStationRecordConsoleState : BoundUserInterfaceState

Constructors

| Improve this Doc View Source

GeneralStationRecordConsoleState(Nullable<(NetEntity, UInt32)>, GeneralStationRecord, Nullable<Dictionary<(NetEntity, UInt32), String>>, GeneralStationRecordsFilter)

Declaration
public GeneralStationRecordConsoleState((NetEntity, uint)? key, GeneralStationRecord record, Dictionary<(NetEntity, uint), string>? recordListing, GeneralStationRecordsFilter newFilter)
Parameters
Type Name Description
System.Nullable<System.ValueTuple<NetEntity, System.UInt32>> key
GeneralStationRecord record
System.Nullable<Dictionary<System.ValueTuple<NetEntity, System.UInt32>, System.String>> recordListing
GeneralStationRecordsFilter newFilter

Properties

| Improve this Doc View Source

Filter

Declaration
public GeneralStationRecordsFilter Filter { get; }
Property Value
Type Description
GeneralStationRecordsFilter
| Improve this Doc View Source

Record

Declaration
public GeneralStationRecord Record { get; }
Property Value
Type Description
GeneralStationRecord
| Improve this Doc View Source

RecordListing

Declaration
public Dictionary<(NetEntity, uint), string>? RecordListing { get; }
Property Value
Type Description
System.Nullable<Dictionary<System.ValueTuple<NetEntity, System.UInt32>, System.String>>
| Improve this Doc View Source

SelectedKey

Current selected key.

Declaration
public (NetEntity, uint)? SelectedKey { get; }
Property Value
Type Description
System.Nullable<System.ValueTuple<NetEntity, System.UInt32>>

Methods

| Improve this Doc View Source

IsEmpty()

Declaration
public bool IsEmpty()
Returns
Type Description
System.Boolean
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾