Class DaggerfallDungeon
Inheritance
DaggerfallDungeon
Assembly: Assembly-CSharp.dll
Syntax
public class DaggerfallDungeon : MonoBehaviour
Fields
|
Improve this Doc
View Source
DungeonTextureTable
Declaration
public int[] DungeonTextureTable
Field Value
|
Improve this Doc
View Source
DungeonTextureUse
Declaration
public DungeonTextureUse DungeonTextureUse
Field Value
|
Improve this Doc
View Source
RandomMonsterVariance
Declaration
public int RandomMonsterVariance
Field Value
Properties
|
Improve this Doc
View Source
EnterMarker
Declaration
public GameObject EnterMarker { get; }
Property Value
|
Improve this Doc
View Source
StartMarker
Declaration
public GameObject StartMarker { get; }
Property Value
|
Improve this Doc
View Source
StaticDoorCollections
Declaration
public DaggerfallStaticDoors[] StaticDoorCollections { get; }
Property Value
|
Improve this Doc
View Source
Summary
Declaration
public DaggerfallDungeon.DungeonSummary Summary { get; }
Property Value
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
Returns
|
Improve this Doc
View Source
GetPlayerBlockIndex(Vector3)
Declaration
public int GetPlayerBlockIndex(Vector3 playerPos)
Parameters
Type |
Name |
Description |
Vector3 |
playerPos |
|
Returns
|
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
Returns
|
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
|
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
|
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
Extension Methods
MBExtensions.Invoke<T1, T2, T3, T4>(MonoBehaviour, Action<T1, T2, T3, T4>, T1, T2, T3, T4, Single)