mirror of
https://github.com/opensim/opensim.git
synced 2026-06-08 21:01:01 +08:00
* The script will now get a IScriptEntity to it's host object with get/sets * The script gets a IScriptReadnlyEntity interface to entities other than the host object. * the test script now follows a random avatar.
27 lines
532 B
C#
27 lines
532 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
using libsecondlife;
|
|
|
|
namespace OpenSim.RegionServer.world.scripting
|
|
{
|
|
public class Script
|
|
{
|
|
private LLUUID m_scriptId;
|
|
public virtual LLUUID ScriptId
|
|
{
|
|
get
|
|
{
|
|
return m_scriptId;
|
|
}
|
|
}
|
|
|
|
public Script( LLUUID scriptId )
|
|
{
|
|
m_scriptId = scriptId;
|
|
}
|
|
|
|
public ScriptEventHandler OnFrame;
|
|
}
|
|
}
|