Struct DFRegion
Stores information about locations in a region.
Namespace: DaggerfallConnect
Assembly: Assembly-CSharp.dll
Syntax
public struct DFRegion
Fields
| Improve this Doc View SourceDungeonTypeNames
String array of dungeon types for display.
Declaration
public static string[] DungeonTypeNames
Field Value
Type | Description |
---|---|
String[] |
LocationCount
Number of locations in this region. Not all regions have locations. Always check LocationCount before working with MapNames array.
Declaration
public uint LocationCount
Field Value
Type | Description |
---|---|
UInt32 |
MapIdLookup
Dictionary to find map index from MapID.
Declaration
public Dictionary<int, int> MapIdLookup
Field Value
Type | Description |
---|---|
Dictionary<Int32, Int32> |
MapNameLookup
Dictionary to find a map index from map name. Note that some map names are duplicates. Only the first instance will be stored and subsequent duplicates discarded. These locations can still be referenced by MapID or index.
Declaration
public Dictionary<string, int> MapNameLookup
Field Value
Type | Description |
---|---|
Dictionary<String, Int32> |
MapNames
Contains the names of all locations for this region.
Declaration
public string[] MapNames
Field Value
Type | Description |
---|---|
String[] |
MapTable
Contains extended data about each location in this region.
Declaration
public DFRegion.RegionMapTable[] MapTable
Field Value
Type | Description |
---|---|
DFRegion.RegionMapTable[] |
Name
Name of this region.
Declaration
public string Name
Field Value
Type | Description |
---|---|
String |