mirror of
https://github.com/opensim/opensim.git
synced 2026-05-18 04:45:35 +08:00
Taken the old scripting engine out of Region.Environment and moved it into a separate module: OpenSim.Region.ExtensionsScriptModule (named as such because the purpose of it is to script server extensions, rather than "user scripting" like Tedd's engine.)
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using OpenSim.Region.Environment.Scenes;
|
||||
using libsecondlife;
|
||||
using Key = libsecondlife.LLUUID;
|
||||
|
||||
namespace OpenSim.Region.ExtensionsScriptModule
|
||||
{
|
||||
|
||||
public class ScriptInterpretedEvents
|
||||
{
|
||||
public delegate void OnTouchStartDelegate(Key user);
|
||||
public event OnTouchStartDelegate OnTouchStart;
|
||||
|
||||
|
||||
public void TriggerTouchStart(Key user)
|
||||
{
|
||||
if (OnTouchStart != null)
|
||||
OnTouchStart(user);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user