Aura.Channel.Scripting.ScriptManager.ScriptManager C# (CSharp) Method

ScriptManager() public method

Creates new script manager
public ScriptManager ( ) : Aura.Channel.Scripting.Compilers
return Aura.Channel.Scripting.Compilers
		public ScriptManager()
		{
			this.ItemScripts = new ItemScriptCollection();
			this.AiScripts = new AiScriptCollection();
			this.NpcShopScripts = new NpcShopScriptCollection();
			this.QuestScripts = new QuestScriptCollection();
			this.DungeonScripts = new DungeonScriptCollection();
			this.PuzzleScripts = new PuzzleScriptCollection();
			this.NpcScriptHooks = new NpcScriptHookCollection();

			this.GlobalVars = new ScriptVariables();

			if (_compilers.ContainsKey("cs"))
				_compilers["cs"].PreCompilers.Add(new CSharpPreCompiler());
		}