Skip to content
This repository was archived by the owner on Dec 13, 2025. It is now read-only.

Sandbox.ModAPI.Ingame.MyWaypointInfo

Morten Aune Lyrstad edited this page Apr 16, 2022 · 52 revisions

IndexNamespace Index

MyWaypointInfo Struct

public struct MyWaypointInfo: IEquatable<MyWaypointInfo>

Represents a GPS coordinate

Namespace: Sandbox.ModAPI.Ingame
Assembly: Sandbox.Common.dll

Implements:

Fields

Member Description
\$1static MyWaypointInfo Empty](Sandbox.ModAPI.Ingame.MyWaypointInfo.Empty) Returns an empty (undefined) GPS coordinate
\$1Vector3D Coords](Sandbox.ModAPI.Ingame.MyWaypointInfo.Coords) Gets the target coordinate as a Vector3D
\$1string Name](Sandbox.ModAPI.Ingame.MyWaypointInfo.Name) The name of this GPS coordinate

Constructors

Member Description
\$1MyWaypointInfo(string, double, double, double)](Sandbox.ModAPI.Ingame.MyWaypointInfo..ctor)
\$1MyWaypointInfo(string, Vector3D)](Sandbox.ModAPI.Ingame.MyWaypointInfo..ctor)

Methods

Member Description
\$1static void FindAll(string, List\$1MyWaypointInfo>)](Sandbox.ModAPI.Ingame.MyWaypointInfo.FindAll) Searches for all GPS coordinates in the given text.
\$1static bool TryParse(string, out MyWaypointInfo)](Sandbox.ModAPI.Ingame.MyWaypointInfo.TryParse) Attempts to parse a GPS coordinate from the given text. The text cannot contain anything but the GPS coordinate.

A GPS coordinate has the format GPS:Name:X:Y:Z:
\$1bool Equals(MyWaypointInfo)](Sandbox.ModAPI.Ingame.MyWaypointInfo.Equals) Determines whether this coordinate is the same as another. Uses 0.0001 as the epsilon to counter floating point inaccuracies.
\$1bool Equals(MyWaypointInfo, double)](Sandbox.ModAPI.Ingame.MyWaypointInfo.Equals) Determines whether this coordinate is the same as another. Uses 0.0001 as the epsilon to counter floating point inaccuracies.
\$1bool Equals(object)](Sandbox.ModAPI.Ingame.MyWaypointInfo.Equals) Determines whether this coordinate is the same as another. Uses 0.0001 as the epsilon to counter floating point inaccuracies.
\$1int GetHashCode()](Sandbox.ModAPI.Ingame.MyWaypointInfo.GetHashCode) Gets the hashcode of this coordinate
\$1bool IsEmpty()](Sandbox.ModAPI.Ingame.MyWaypointInfo.IsEmpty) Determines whether this coordinate is empty (undefined)
\$1string ToString()](Sandbox.ModAPI.Ingame.MyWaypointInfo.ToString) Converts this GPS coordinate to its string equivalent

Clone this wiki locally