Show / Hide Table of Contents

Class PdaMenu

Inheritance
System.Object
Robust.Client.UserInterface.Control
Robust.Client.UserInterface.CustomControls.BaseWindow
PdaWindow
PdaMenu
Namespace: Content.Client.PDA
Assembly: Content.Client.dll
Syntax
public sealed class PdaMenu : PdaWindow

Constructors

| Improve this Doc View Source

PdaMenu()

Declaration
public PdaMenu()

Fields

| Improve this Doc View Source

HomeView

Declaration
public const int HomeView = null
Field Value
Type Description
System.Int32
| Improve this Doc View Source

ProgramContentView

Declaration
public const int ProgramContentView = null
Field Value
Type Description
System.Int32
| Improve this Doc View Source

ProgramListView

Declaration
public const int ProgramListView = null
Field Value
Type Description
System.Int32
| Improve this Doc View Source

SettingsView

Declaration
public const int SettingsView = null
Field Value
Type Description
System.Int32

Methods

| Improve this Doc View Source

ChangeView(Int32)

Changes the current view to the given view number

Declaration
public void ChangeView(int view)
Parameters
Type Name Description
System.Int32 view
| Improve this Doc View Source

Draw(DrawingHandleScreen)

Declaration
protected override void Draw(DrawingHandleScreen handle)
Parameters
Type Name Description
Robust.Client.Graphics.DrawingHandleScreen handle
Overrides
Robust.Client.UserInterface.Control.Draw(Robust.Client.Graphics.DrawingHandleScreen)
| Improve this Doc View Source

HideProgramHeader()

Hides the program title and close button.

Declaration
public void HideProgramHeader()
| Improve this Doc View Source

ToHomeScreen()

Changes the current view to the home screen (view 0) and sets the tabs IsCurrent flag accordingly

Declaration
public void ToHomeScreen()
| Improve this Doc View Source

ToProgramView(String)

Changes the current view to the program content view (view 3), sets the program title and sets the tabs IsCurrent flag accordingly

Declaration
public void ToProgramView(string title)
Parameters
Type Name Description
System.String title
| Improve this Doc View Source

UpdateAvailablePrograms(List<(EntityUid, CartridgeComponent)>)

Declaration
public void UpdateAvailablePrograms(List<(EntityUid, CartridgeComponent)> programs)
Parameters
Type Name Description
List<System.ValueTuple<EntityUid, CartridgeComponent>> programs
| Improve this Doc View Source

UpdateState(PdaUpdateState)

Declaration
public void UpdateState(PdaUpdateState state)
Parameters
Type Name Description
PdaUpdateState state

Events

| Improve this Doc View Source

OnInstallButtonPressed

Declaration
public event Action<EntityUid>? OnInstallButtonPressed
Event Type
Type Description
System.Nullable<Action<EntityUid>>
| Improve this Doc View Source

OnProgramItemPressed

Declaration
public event Action<EntityUid>? OnProgramItemPressed
Event Type
Type Description
System.Nullable<Action<EntityUid>>
| Improve this Doc View Source

OnUninstallButtonPressed

Declaration
public event Action<EntityUid>? OnUninstallButtonPressed
Event Type
Type Description
System.Nullable<Action<EntityUid>>

Extension Methods

ControlExtension.GetControlOfType<T>(Control)
ControlExtension.GetControlOfType<T>(Control, String)
ControlExtension.GetControlOfType<T>(Control, Boolean)
ControlExtension.GetControlOfType<T>(Control, String, Boolean)
ControlExtension.GetSearchableControls(Control, Boolean)
ControlExtension.ChildrenContainText(Control, String)
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾