Show / Hide Table of Contents

Class GhostComponent

Inheritance
System.Object
GhostComponent
Namespace: Content.Shared.Ghost
Assembly: Content.Shared.dll
Syntax
public sealed class GhostComponent : Component

Fields

| Improve this Doc View Source

BooAction

Declaration
public EntProtoId BooAction
Field Value
Type Description
Robust.Shared.Prototypes.EntProtoId
| Improve this Doc View Source

BooActionEntity

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

BooMaxTargets

Declaration
public int BooMaxTargets
Field Value
Type Description
System.Int32
| Improve this Doc View Source

BooRadius

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

color

Ghost color

Declaration
public Color color
Field Value
Type Description
Color
Remarks

Used to allow admins to change ghost colors. Should be removed if the capability to edit existing sprite colors is ever added back.

| Improve this Doc View Source

IsAttached

Declaration
public bool IsAttached
Field Value
Type Description
System.Boolean
| Improve this Doc View Source

TimeOfDeath

Declaration
public TimeSpan TimeOfDeath
Field Value
Type Description
TimeSpan
| Improve this Doc View Source

ToggleFoVAction

Declaration
public EntProtoId ToggleFoVAction
Field Value
Type Description
Robust.Shared.Prototypes.EntProtoId
| Improve this Doc View Source

ToggleFoVActionEntity

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

ToggleGhostHearingAction

Declaration
public EntProtoId ToggleGhostHearingAction
Field Value
Type Description
Robust.Shared.Prototypes.EntProtoId
| Improve this Doc View Source

ToggleGhostHearingActionEntity

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

ToggleGhostsAction

Declaration
public EntProtoId ToggleGhostsAction
Field Value
Type Description
Robust.Shared.Prototypes.EntProtoId
| Improve this Doc View Source

ToggleGhostsActionEntity

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

ToggleLightingAction

Declaration
public EntProtoId ToggleLightingAction
Field Value
Type Description
Robust.Shared.Prototypes.EntProtoId
| Improve this Doc View Source

ToggleLightingActionEntity

Declaration
public EntityUid? ToggleLightingActionEntity
Field Value
Type Description
System.Nullable<EntityUid>

Properties

| Improve this Doc View Source

CanGhostInteract

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

CanReturnToBody

Changed by SetCanReturnToBody(EntityUid, Boolean, GhostComponent)

Declaration
public bool CanReturnToBody { get; set; }
Property Value
Type Description
System.Boolean
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾