Files
opensim/OpenSim/OpenSim.Region/Scenes/scripting/ScriptInfo.cs
Adam Frisby 0c1a6c85cc * Brand spankin' new scripting engine.
* Use "script load somefile.cs" for C# scripting. Will commit additional languages shortly. Scripts should implement the IScript interfaces to work correctly.
* Someone port this over to NameSpaceChanges (built in Sugilite since sugilite is working)
2007-06-28 08:09:05 +00:00

32 lines
728 B
C#

using System;
using System.Collections.Generic;
using System.Text;
using OpenSim.Region.Scenes;
using OpenSim.Framework.Console;
namespace OpenSim.Scripting
{
/// <summary>
/// Class which provides access to the world
/// </summary>
public class ScriptInfo
{
// Reference to world.eventsManager provided for convenience
public EventManager events;
// The main world
public Scene world;
// The console
public LogBase logger;
public ScriptInfo(Scene scene)
{
world = scene;
events = world.eventManager;
logger = OpenSim.Framework.Console.MainLog.Instance;
}
}
}