mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 00:44:38 +08:00
* Extended Script API with GetRandomAvatar
* 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.
This commit is contained in:
19
OpenSim.RegionServer/world/scripting/IScriptEntity.cs
Normal file
19
OpenSim.RegionServer/world/scripting/IScriptEntity.cs
Normal file
@@ -0,0 +1,19 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using libsecondlife;
|
||||
|
||||
namespace OpenSim.RegionServer.world.scripting
|
||||
{
|
||||
public interface IScriptReadonlyEntity
|
||||
{
|
||||
LLVector3 Pos { get; }
|
||||
string Name { get; }
|
||||
}
|
||||
|
||||
public interface IScriptEntity
|
||||
{
|
||||
LLVector3 Pos { get; set; }
|
||||
string Name { get; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user