Show / Hide Table of Contents

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 Source

Climate

Climate settings for this location.

Declaration
public DFLocation.ClimateSettings Climate
Field Value
Type Description
DFLocation.ClimateSettings
| Improve this Doc View Source

Dungeon

Dungeon attached to location (if HasDungeon = true).

Declaration
public DFLocation.LocationDungeon Dungeon
Field Value
Type Description
DFLocation.LocationDungeon
| Improve this Doc View Source

Exterior

Exterior location.

Declaration
public DFLocation.LocationExterior Exterior
Field Value
Type Description
DFLocation.LocationExterior
| Improve this Doc View Source

HasDungeon

True if location has a dungeon, otherwise false.

Declaration
public bool HasDungeon
Field Value
Type Description
Boolean
| Improve this Doc View Source

Loaded

Set to true if loaded.

Declaration
public bool Loaded
Field Value
Type Description
Boolean
| Improve this Doc View Source

LocationIndex

Location index.

Declaration
public int LocationIndex
Field Value
Type Description
Int32
| Improve this Doc View Source

MapTableData

RegionMapTable data for this location.

Declaration
public DFRegion.RegionMapTable MapTableData
Field Value
Type Description
DFRegion.RegionMapTable
| Improve this Doc View Source

Name

Name of this location.

Declaration
public string Name
Field Value
Type Description
String
| Improve this Doc View Source

Politic

Political alignment of this location (equal to region index + 128).

Declaration
public int Politic
Field Value
Type Description
Int32
| Improve this Doc View Source

RegionIndex

Region index.

Declaration
public int RegionIndex
Field Value
Type Description
Int32
| Improve this Doc View Source

RegionName

Name of the parent region.

Declaration
public string RegionName
Field Value
Type Description
String

Methods

| Improve this Doc View Source

HasCustomLocationPosition()

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
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX