Struct StructureInfo
Stores return information about a structure including it's region information.
public readonly struct StructureInfo
- Inherited Members
Remarks
Only valid for one frame, shouldn't be stored for longer than that.
Constructors
StructureInfo(StructureDrop?, int, RegionCoord)
public StructureInfo(StructureDrop? drop, int index, RegionCoord coord)
Parameters
dropStructureDropindexintcoordRegionCoord
Properties
Coord
Coordinates of the region the structure is in, if it's not on a vehicle.
public RegionCoord Coord { get; }
Property Value
- RegionCoord
Data
public StructureData Data { get; }
Property Value
- StructureData
Drop
public StructureDrop Drop { get; }
Property Value
- StructureDrop
HasValue
public bool HasValue { get; }
Property Value
Index
Index of the structure in it's region's drop list.
public int Index { get; }
Property Value
Methods
GetRegion()
[Pure]
public StructureRegion GetRegion()
Returns
- StructureRegion