Show / Hide Table of Contents

Class CombatModeIndicatorsOverlay

This shows something like crosshairs for the combat mode next to the mouse cursor. For weapons with the gun class, a crosshair of one type is displayed, while for all other types of weapons and items in hand, as well as for an empty hand, a crosshair of a different type is displayed. These crosshairs simply show the state of combat mode (on|off).

Inheritance
System.Object
Robust.Client.Graphics.Overlay
CombatModeIndicatorsOverlay
Namespace: Content.Client.CombatMode
Assembly: Content.Client.dll
Syntax
public sealed class CombatModeIndicatorsOverlay : Overlay

Constructors

| Improve this Doc View Source

CombatModeIndicatorsOverlay(IInputManager, IEntityManager, IEyeManager, CombatModeSystem, HandsSystem)

Declaration
public CombatModeIndicatorsOverlay(IInputManager input, IEntityManager entMan, IEyeManager eye, CombatModeSystem combatSys, HandsSystem hands)
Parameters
Type Name Description
Robust.Client.Input.IInputManager input
IEntityManager entMan
Robust.Client.Graphics.IEyeManager eye
CombatModeSystem combatSys
HandsSystem hands

Fields

| Improve this Doc View Source

MainColor

Declaration
public Color MainColor
Field Value
Type Description
Color
| Improve this Doc View Source

Scale

Declaration
public float Scale
Field Value
Type Description
System.Single
| Improve this Doc View Source

StrokeColor

Declaration
public Color StrokeColor
Field Value
Type Description
Color

Properties

| Improve this Doc View Source

Space

Declaration
public override OverlaySpace Space { get; }
Property Value
Type Description
Robust.Shared.Enums.OverlaySpace
Overrides
Robust.Client.Graphics.Overlay.Space

Methods

| Improve this Doc View Source

BeforeDraw(OverlayDrawArgs)

Declaration
protected override bool BeforeDraw(in OverlayDrawArgs args)
Parameters
Type Name Description
Robust.Client.Graphics.OverlayDrawArgs args
Returns
Type Description
System.Boolean
Overrides
Robust.Client.Graphics.Overlay.BeforeDraw(Robust.Client.Graphics.OverlayDrawArgs)
| Improve this Doc View Source

Draw(OverlayDrawArgs)

Declaration
protected override void Draw(in OverlayDrawArgs args)
Parameters
Type Name Description
Robust.Client.Graphics.OverlayDrawArgs args
Overrides
Robust.Client.Graphics.Overlay.Draw(Robust.Client.Graphics.OverlayDrawArgs)
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾