* Added new scripting related events, in particular a new event which is triggered by console commands so that the script can subscribe to console messages and operate when they occur.

* Added new example script (work in progress)
* Fixed typo in Scripting engines for C# and JScript.NET
This commit is contained in:
Adam Frisby
2007-07-15 22:04:56 +00:00
parent 173c5ee79e
commit f2c449f10e
6 changed files with 59 additions and 3 deletions

View File

@@ -25,6 +25,15 @@ namespace OpenSim.Region.Environment.Scenes
public delegate void OnParcelPrimCountAddDelegate(SceneObject obj);
public event OnParcelPrimCountAddDelegate OnParcelPrimCountAdd;
public delegate void OnScriptConsoleDelegate(string[] args);
public event OnScriptConsoleDelegate OnScriptConsole;
public void TriggerOnScriptConsole(string[] args)
{
if (OnScriptConsole != null)
OnScriptConsole(args);
}
public void TriggerOnFrame()
{
if (OnFrame != null)