Show / Hide Table of Contents

Class DaggerfallDungeon

Inheritance
Object
Object
Component
Behaviour
MonoBehaviour
DaggerfallDungeon
Namespace: DaggerfallWorkshop
Assembly: Assembly-CSharp.dll
Syntax
public class DaggerfallDungeon : MonoBehaviour

Fields

| Improve this Doc View Source

DungeonTextureTable

Declaration
public int[] DungeonTextureTable
Field Value
Type Description
Int32[]
| Improve this Doc View Source

DungeonTextureUse

Declaration
public DungeonTextureUse DungeonTextureUse
Field Value
Type Description
DungeonTextureUse
| Improve this Doc View Source

RandomMonsterVariance

Declaration
public int RandomMonsterVariance
Field Value
Type Description
Int32

Properties

| Improve this Doc View Source

EnterMarker

Declaration
public GameObject EnterMarker { get; }
Property Value
Type Description
GameObject
| Improve this Doc View Source

StartMarker

Declaration
public GameObject StartMarker { get; }
Property Value
Type Description
GameObject
| Improve this Doc View Source

StaticDoorCollections

Declaration
public DaggerfallStaticDoors[] StaticDoorCollections { get; }
Property Value
Type Description
DaggerfallStaticDoors[]
| Improve this Doc View Source

Summary

Declaration
public DaggerfallDungeon.DungeonSummary Summary { get; }
Property Value
Type Description
DaggerfallDungeon.DungeonSummary

Methods

| Improve this Doc View Source

ApplyDungeonTextureTable()

Declaration
public void ApplyDungeonTextureTable()
| Improve this Doc View Source

GetAllDebuggerMarkerPositions()

Gets all debugger marker positions for this dungeon. Not related to gameplay systems like quests. Only used for teleporting player around marker positions using quest debugger.

Declaration
public Vector3[] GetAllDebuggerMarkerPositions()
Returns
Type Description
Vector3[]

Array of all debugger marker positions. Can return null or empty.

| Improve this Doc View Source

GetBlockData(Int32, out DFLocation.DungeonBlock)

Declaration
public bool GetBlockData(int index, out DFLocation.DungeonBlock blockDataOut)
Parameters
Type Name Description
Int32 index
DFLocation.DungeonBlock blockDataOut
Returns
Type Description
Boolean
| Improve this Doc View Source

GetPlayerBlockIndex(Vector3)

Declaration
public int GetPlayerBlockIndex(Vector3 playerPos)
Parameters
Type Name Description
Vector3 playerPos
Returns
Type Description
Int32
| Improve this Doc View Source

GetSceneName(DFLocation)

Gets the scene name for the dungeon at the given location.

Declaration
public static string GetSceneName(DFLocation location)
Parameters
Type Name Description
DFLocation location
Returns
Type Description
String
| Improve this Doc View Source

GetSpecialDungeonName()

Gets special dungeon name (e.g. Castle Daggerfall). Fallback to current location name if not in a special named dungeon.

Declaration
public string GetSpecialDungeonName()
Returns
Type Description
String
| Improve this Doc View Source

IsMainStoryDungeon(Int32)

Helper to check if dungeon is a main story dungeon.

Declaration
public static bool IsMainStoryDungeon(int id)
Parameters
Type Name Description
Int32 id

ID of dungeon.

Returns
Type Description
Boolean

True if dungeon is a main story dungeon.

| Improve this Doc View Source

RandomiseDungeonTextureTable()

Declaration
public void RandomiseDungeonTextureTable()
| Improve this Doc View Source

ResetDungeonTextureTable()

Declaration
public void ResetDungeonTextureTable()
| Improve this Doc View Source

SetDungeon(DFLocation, Boolean)

Declaration
public void SetDungeon(DFLocation location, bool importEnemies = true)
Parameters
Type Name Description
DFLocation location
Boolean importEnemies
| Improve this Doc View Source

UseLocationDungeonTextureTable()

Declaration
public void UseLocationDungeonTextureTable()

Events

| Improve this Doc View Source

OnSetDungeon

An event raised after a dungeon has been set and its layout has been performed.

Declaration
public static event Action<DaggerfallDungeon> OnSetDungeon
Event Type
Type Description
Action<DaggerfallDungeon>

Extension Methods

MBExtensions.Invoke(MonoBehaviour, Action, Single)
MBExtensions.Invoke<T>(MonoBehaviour, Action<T>, T, Single)
MBExtensions.Invoke<T1, T2>(MonoBehaviour, Action<T1, T2>, T1, T2, Single)
MBExtensions.Invoke<T1, T2, T3>(MonoBehaviour, Action<T1, T2, T3>, T1, T2, T3, Single)
MBExtensions.Invoke<T1, T2, T3, T4>(MonoBehaviour, Action<T1, T2, T3, T4>, T1, T2, T3, T4, Single)
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX