mirror of
https://github.com/opensim/opensim.git
synced 2026-06-06 19:35:46 +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.
14 lines
306 B
C#
14 lines
306 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
using libsecondlife;
|
|
|
|
namespace OpenSim.RegionServer.world.scripting
|
|
{
|
|
public interface IScriptContext
|
|
{
|
|
IScriptEntity Entity { get; }
|
|
bool TryGetRandomAvatar(out IScriptReadonlyEntity avatar);
|
|
}
|
|
}
|