Show / Hide Table of Contents

Class RadarControl

Displays nearby grids inside of a control.

Inheritance
System.Object
Robust.Client.UserInterface.Control
MapGridControl
RadarControl
Namespace: Content.Client.Shuttles.UI
Assembly: Content.Client.dll
Syntax
public sealed class RadarControl : MapGridControl

Constructors

| Improve this Doc View Source

RadarControl()

Declaration
public RadarControl()

Fields

| Improve this Doc View Source

HighlightedDock

Currently hovered docked to show on the map.

Declaration
public EntityUid? HighlightedDock
Field Value
Type Description
System.Nullable<EntityUid>
| Improve this Doc View Source

OnRadarClick

Raised if the user left-clicks on the radar control with the relevant entitycoordinates.

Declaration
public Action<EntityCoordinates>? OnRadarClick
Field Value
Type Description
System.Nullable<Action<Robust.Shared.Map.EntityCoordinates>>

Properties

| Improve this Doc View Source

ShowDocks

Declaration
public bool ShowDocks { get; set; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

ShowIFF

Declaration
public bool ShowIFF { get; set; }
Property Value
Type Description
System.Boolean

Methods

| Improve this Doc View Source

Draw(DrawingHandleScreen)

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

GetMouseCoordinates(ScreenCoordinates)

Gets the entitycoordinates of where the mouseposition is, relative to the control.

Declaration
public EntityCoordinates GetMouseCoordinates(ScreenCoordinates screen)
Parameters
Type Name Description
Robust.Shared.Map.ScreenCoordinates screen
Returns
Type Description
Robust.Shared.Map.EntityCoordinates
| Improve this Doc View Source

KeyBindUp(GUIBoundKeyEventArgs)

Declaration
protected override void KeyBindUp(GUIBoundKeyEventArgs args)
Parameters
Type Name Description
Robust.Client.UserInterface.GUIBoundKeyEventArgs args
Overrides
Robust.Client.UserInterface.Control.KeyBindUp(Robust.Client.UserInterface.GUIBoundKeyEventArgs)
| Improve this Doc View Source

SetMatrix(Nullable<EntityCoordinates>, Nullable<Angle>)

Declaration
public void SetMatrix(EntityCoordinates? coordinates, Angle? angle)
Parameters
Type Name Description
System.Nullable<Robust.Shared.Map.EntityCoordinates> coordinates
System.Nullable<Angle> angle
| Improve this Doc View Source

UpdateState(RadarConsoleBoundInterfaceState)

Declaration
public void UpdateState(RadarConsoleBoundInterfaceState ls)
Parameters
Type Name Description
RadarConsoleBoundInterfaceState ls

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
☀
☾