Struct GhostWarp
An individual place a ghost can warp to. This is used as part of GhostWarpsResponseEvent
Namespace: Content.Shared.Ghost
Assembly: Content.Shared.dll
Syntax
public struct GhostWarp
Constructors
| Improve this Doc View SourceGhostWarp(NetEntity, String, Boolean)
Declaration
public GhostWarp(NetEntity entity, string displayName, bool isWarpPoint)
Parameters
Type | Name | Description |
---|---|---|
NetEntity | entity | |
System.String | displayName | |
System.Boolean | isWarpPoint |
Properties
| Improve this Doc View SourceDisplayName
The display name to be surfaced in the ghost warps menu
Declaration
public string DisplayName { get; }
Property Value
Type | Description |
---|---|
System.String |
Entity
The entity representing the warp point. This is passed back to the server in GhostWarpToTargetRequestEvent
Declaration
public NetEntity Entity { get; }
Property Value
Type | Description |
---|---|
NetEntity |
IsWarpPoint
Whether this warp represents a warp point or a player
Declaration
public bool IsWarpPoint { get; }
Property Value
Type | Description |
---|---|
System.Boolean |