Click or drag to resize

ModHostScriptDomain Property

Access the script domain for this mod. If the host does not have a mod loaded then the return value will be null.

Namespace:  UMod
Assembly:  UMod (in UMod.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public ScriptDomain ScriptDomain { get; }

Property Value

Type: ScriptDomain
Exceptions
ExceptionCondition
ModNotLoadedExceptionThe host does not have a valid mod loaded
ModNotActivatedExceptionThe host has a valid mod loaded but it has not yet been activated. The mod script domain will not be available until activation is completed
See Also