Class DungeonLocation
The location instance the server keeps nearest the queried ground position (in the 3 x 3 zones around it). The game keys each location instance by the zone its own position stands in, so this is found from the query, not from the generator's zone, and a generator displaced into a neighbouring zone still pairs with its location.
public sealed record DungeonLocation
- Inheritance
-
objectDungeonLocation
Constructors
DungeonLocation(string?, float, float, float, int, int)
The location instance the server keeps nearest the queried ground position (in the 3 x 3 zones around it). The game keys each location instance by the zone its own position stands in, so this is found from the query, not from the generator's zone, and a generator displaced into a neighbouring zone still pairs with its location.
public DungeonLocation(string? Prefab, float X, float Y, float Z, int ZoneX, int ZoneZ)
Parameters
PrefabstringXfloatYfloatZfloatZoneXintZoneZint
Properties
Prefab
public string? Prefab { get; init; }
Property Value
- string
X
public float X { get; init; }
Property Value
- float
Y
public float Y { get; init; }
Property Value
- float
Z
public float Z { get; init; }
Property Value
- float
ZoneX
public int ZoneX { get; init; }
Property Value
- int
ZoneZ
public int ZoneZ { get; init; }
Property Value
- int