Table of Contents

Struct PluginDungeonCell

Namespace
AcDream.Plugin.Abstractions
Assembly
AcDream.Plugin.Abstractions.dll

One cell of a floorplan: where it is and which layer it was drawn in.

public readonly record struct PluginDungeonCell : IEquatable<PluginDungeonCell>
Implements
Inherited Members

Constructors

PluginDungeonCell(uint, Vector3, float)

One cell of a floorplan: where it is and which layer it was drawn in.

public PluginDungeonCell(uint CellId, Vector3 Center, float LayerZ)

Parameters

CellId uint

The full cell id, landblock in the high half.

Center Vector3

The middle of the cell's geometry, in landblock-local metres.

LayerZ float

The Z of the layer the cell is drawn in.

Properties

CellId

The full cell id, landblock in the high half.

public uint CellId { get; init; }

Property Value

uint

Center

The middle of the cell's geometry, in landblock-local metres.

public Vector3 Center { get; init; }

Property Value

Vector3

LayerZ

The Z of the layer the cell is drawn in.

public float LayerZ { get; init; }

Property Value

float