Struct DFLocation.BuildingData
Data relating to a building.
Namespace: DaggerfallConnect
Assembly: Assembly-CSharp.dll
Syntax
public struct BuildingData
Fields
| Improve this Doc View SourceBuildingType
Type of building.
Declaration
public DFLocation.BuildingTypes BuildingType
Field Value
| Type | Description |
|---|---|
| DFLocation.BuildingTypes |
FactionId
FactionId associated with building, or 0 if no faction.
Declaration
public ushort FactionId
Field Value
| Type | Description |
|---|---|
| UInt16 |
LocationId
Should always be the same as LocationRecordElementHeader.LocationId.
Declaration
public ushort LocationId
Field Value
| Type | Description |
|---|---|
| UInt16 |
NameSeed
Used to generate building name.
Declaration
public ushort NameSeed
Field Value
| Type | Description |
|---|---|
| UInt16 |
Quality
Specifies quality of building from 1-20.
Declaration
public byte Quality
Field Value
| Type | Description |
|---|---|
| Byte |
Sector
Generally increases with each building. Known use by classic is in identifying whether inside the player's house when trying to rest.
Declaration
public short Sector
Field Value
| Type | Description |
|---|---|
| Int16 |