A single NavLayer. May have the value 0 to 31, or -1 for invalid.
More...
A single NavLayer. May have the value 0 to 31, or -1 for invalid.
◆ AsMask()
readonly NavLayerMask Infohazard.HyperNav.NavLayer.AsMask |
( |
| ) |
|
Get a mask that represents this single layer.
- Returns
- A mask that represents this layer.
◆ Equals() [1/2]
readonly bool Infohazard.HyperNav.NavLayer.Equals |
( |
NavLayer |
other | ) |
|
◆ Equals() [2/2]
readonly override bool Infohazard.HyperNav.NavLayer.Equals |
( |
object |
obj | ) |
|
◆ Get()
static NavLayer Infohazard.HyperNav.NavLayer.Get |
( |
string |
name | ) |
|
|
static |
Get the NavLayer corresponding to the given name in the settings.
- Parameters
-
name | The name of the layer. |
- Returns
- The layer with that name, or None if invalid.
◆ GetHashCode()
readonly override int Infohazard.HyperNav.NavLayer.GetHashCode |
( |
| ) |
|
◆ GetName()
readonly string Infohazard.HyperNav.NavLayer.GetName |
( |
| ) |
|
Get the name of this layer from the settings.
- Returns
- The name of the layer, or an empty string if it is invalid.
◆ operator!=()
static bool Infohazard.HyperNav.NavLayer.operator!= |
( |
NavLayer |
layer1, |
|
|
NavLayer |
layer2 |
|
) |
| |
|
static |
◆ operator==()
static bool Infohazard.HyperNav.NavLayer.operator== |
( |
NavLayer |
layer1, |
|
|
NavLayer |
layer2 |
|
) |
| |
|
static |
◆ ToString()
readonly override string Infohazard.HyperNav.NavLayer.ToString |
( |
| ) |
|
◆ TryGet()
static bool Infohazard.HyperNav.NavLayer.TryGet |
( |
string |
name, |
|
|
out NavLayer |
layer |
|
) |
| |
|
static |
Try to get the NavLayer corresponding to the given name in the settings.
- Parameters
-
name | The name of the layer. |
layer | The layer with that name, or None if invalid. |
- Returns
- Whether the layer exists.
The documentation for this struct was generated from the following file: