mirror of
https://github.com/opensim/opensim.git
synced 2026-06-07 03:45:42 +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.
20 lines
391 B
C#
20 lines
391 B
C#
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; }
|
|
}
|
|
}
|