C# Class Aura.Channel.Scripting.ScriptManager

Channel's script manager
Inheritance: Aura.Shared.Scripting.UserSystemScriptManager
Exibir arquivo Open project: aura-project/aura

Public Methods

Method Description
Init ( ) : void

Sets up global variables and subscriptions, call once everything is ready (scripts, world, etc).

Load ( ) : void

Loads all scripts.

OnMabiTick ( ErinnTime time ) : void

5 min tick, global var saving.

Reload ( ) : void

Removes all NPCs, props, etc and loads them again.

ScriptManager ( ) : Aura.Channel.Scripting.Compilers

Creates new script manager

Private Methods

Method Description
CreateInlineItemScriptFile ( ) : void

Generates script file for inline scripts from item db.

Method Details

Init() public method

Sets up global variables and subscriptions, call once everything is ready (scripts, world, etc).
public Init ( ) : void
return void

Load() public method

Loads all scripts.
public Load ( ) : void
return void

OnMabiTick() public method

5 min tick, global var saving.
public OnMabiTick ( ErinnTime time ) : void
time Aura.Mabi.ErinnTime
return void

Reload() public method

Removes all NPCs, props, etc and loads them again.
public Reload ( ) : void
return void

ScriptManager() public method

Creates new script manager
public ScriptManager ( ) : Aura.Channel.Scripting.Compilers
return Aura.Channel.Scripting.Compilers