Show / Hide Table of Contents

Class ModReservedLayer

One of the physics layer that was reserved for a mod.

Inheritance
Object
ModReservedLayer
Namespace: DaggerfallWorkshop.Game.Utility.ModSupport
Assembly: Assembly-CSharp.dll
Syntax
public sealed class ModReservedLayer : IDisposable

Properties

| Improve this Doc View Source

Layer

The numeric index of the layer.

Declaration
public int Layer { get; }
Property Value
Type Description
Int32
Exceptions
Type Condition
ObjectDisposedException

Layer has already been released.

Methods

| Improve this Doc View Source

Dispose()

Releases this layer so it can be made available to other mods.

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

Request()

Requests a reserved layer. There is a limited number of layers so it should be released with Dispose() if not used anymore.

Declaration
public static ModReservedLayer Request()
Returns
Type Description
ModReservedLayer

A reserved layer or null if none is available.

| Improve this Doc View Source

ToString()

Gets the name of the layer.

Declaration
public sealed override string ToString()
Returns
Type Description
String

The name associated to this layer index.

Overrides
Object.ToString()
  • Improve this Doc
  • View Source
In This Article
  • Properties
    • Layer
  • Methods
    • Dispose()
    • Request()
    • ToString()
Back to top Generated by DocFX