Struct DFLocation
Stores information about locations, such as cities and dungeons.
Namespace: DaggerfallConnect
Assembly: Assembly-CSharp.dll
Syntax
public struct DFLocation
Fields
| Improve this Doc View SourceClimate
Climate settings for this location.
Declaration
public DFLocation.ClimateSettings Climate
Field Value
Type | Description |
---|---|
DFLocation.ClimateSettings |
Dungeon
Dungeon attached to location (if HasDungeon = true).
Declaration
public DFLocation.LocationDungeon Dungeon
Field Value
Type | Description |
---|---|
DFLocation.LocationDungeon |
Exterior
Exterior location.
Declaration
public DFLocation.LocationExterior Exterior
Field Value
Type | Description |
---|---|
DFLocation.LocationExterior |
HasDungeon
True if location has a dungeon, otherwise false.
Declaration
public bool HasDungeon
Field Value
Type | Description |
---|---|
Boolean |
Loaded
Set to true if loaded.
Declaration
public bool Loaded
Field Value
Type | Description |
---|---|
Boolean |
LocationIndex
Location index.
Declaration
public int LocationIndex
Field Value
Type | Description |
---|---|
Int32 |
MapTableData
RegionMapTable data for this location.
Declaration
public DFRegion.RegionMapTable MapTableData
Field Value
Type | Description |
---|---|
DFRegion.RegionMapTable |
Name
Name of this location.
Declaration
public string Name
Field Value
Type | Description |
---|---|
String |
Politic
Political alignment of this location (equal to region index + 128).
Declaration
public int Politic
Field Value
Type | Description |
---|---|
Int32 |
RegionIndex
Region index.
Declaration
public int RegionIndex
Field Value
Type | Description |
---|---|
Int32 |
RegionName
Name of the parent region.
Declaration
public string RegionName
Field Value
Type | Description |
---|---|
String |
Methods
| Improve this Doc View SourceHasCustomLocationPosition()
Some 1x1 locations (e.g. Privateer's Hold exterior) are positioned differently Seems to be 1x1 blocks using CUST prefix, but possibly more research needed
Declaration
public bool HasCustomLocationPosition()
Returns
Type | Description |
---|---|
Boolean |