Table of Contents

Interface IScript

Namespace
RisingV.Scripting
Assembly
RisingV.Scripting.dll

Interface for scripts in the RisingV scripting system.

public interface IScript : IManageableLifecycle<ScriptManager>, IManageableLifecycle, IReloadable, IManageable<ScriptManager>, IManageable
Inherited Members
Extension Methods

Properties

ClassNamespace

Gets the class name of the script, which is the name of the class that implements the script logic.

string ClassNamespace { get; }

Property Value

string

FileName

Gets the file name of the script, typically the script's source file name.

string FileName { get; }

Property Value

string

FilePath

Gets the file path of the script, which includes the directory and file name.

string FilePath { get; }

Property Value

string

LoadedAt

Gets the context of the script, which provides access to the script's execution environment and data.

DateTime LoadedAt { get; }

Property Value

DateTime

LoaderOptions

Gets the class name of the script, which is the name of the class that implements the script logic.

ScriptLoaderOptions? LoaderOptions { get; }

Property Value

ScriptLoaderOptions

Log

Gets the logger for the script, which is used for logging messages related to the script's execution

ILogger Log { get; }

Property Value

ILogger

Name

Gets the name of the script.

string Name { get; }

Property Value

string