Table of Contents

Struct RescuePoint

Namespace
FishMMO.Shared
Assembly
FishMMO.Shared.dll

One place a rescue can send a character to.

public readonly struct RescuePoint
Inherited Members

Constructors

RescuePoint(RescuePointKind, string, Vector3, Quaternion, bool)

public RescuePoint(RescuePointKind kind, string name, Vector3 position, Quaternion rotation, bool hasRotation)

Parameters

kind RescuePointKind
name string
position Vector3
rotation Quaternion
hasRotation bool

Fields

HasRotation

False for a waypoint, which is harvested as a marker and carries no facing. The caller keeps the character's own rotation rather than snapping them to face north.

public readonly bool HasRotation

Field Value

bool

Kind

What kind of place it is.

public readonly RescuePointKind Kind

Field Value

RescuePointKind

Name

The name an operator types to pick it.

public readonly string Name

Field Value

string

Position

Where the character is placed.

public readonly Vector3 Position

Field Value

Vector3

Rotation

The facing to place them with, when the place has one.

public readonly Quaternion Rotation

Field Value

Quaternion