diff options
author | lbsa71 | 2007-04-03 19:12:07 +0000 |
---|---|---|
committer | lbsa71 | 2007-04-03 19:12:07 +0000 |
commit | 7169acc47e8bb56581bd28c3bd921ca9236ba3c3 (patch) | |
tree | 4565785736fb759f0c665aac28cd88937042bdd3 /OpenSim.RegionServer/world/scripting/IScriptEntity.cs | |
parent | Another temporary bug fix attempt, this time for the packet overflow problem,... (diff) | |
download | opensim-SC-7169acc47e8bb56581bd28c3bd921ca9236ba3c3.zip opensim-SC-7169acc47e8bb56581bd28c3bd921ca9236ba3c3.tar.gz opensim-SC-7169acc47e8bb56581bd28c3bd921ca9236ba3c3.tar.bz2 opensim-SC-7169acc47e8bb56581bd28c3bd921ca9236ba3c3.tar.xz |
* 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.
Diffstat (limited to '')
-rw-r--r-- | OpenSim.RegionServer/world/scripting/IScriptEntity.cs | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/OpenSim.RegionServer/world/scripting/IScriptEntity.cs b/OpenSim.RegionServer/world/scripting/IScriptEntity.cs new file mode 100644 index 0000000..2ef16a4 --- /dev/null +++ b/OpenSim.RegionServer/world/scripting/IScriptEntity.cs | |||
@@ -0,0 +1,19 @@ | |||
1 | using System; | ||
2 | using System.Collections.Generic; | ||
3 | using System.Text; | ||
4 | using libsecondlife; | ||
5 | |||
6 | namespace OpenSim.RegionServer.world.scripting | ||
7 | { | ||
8 | public interface IScriptReadonlyEntity | ||
9 | { | ||
10 | LLVector3 Pos { get; } | ||
11 | string Name { get; } | ||
12 | } | ||
13 | |||
14 | public interface IScriptEntity | ||
15 | { | ||
16 | LLVector3 Pos { get; set; } | ||
17 | string Name { get; } | ||
18 | } | ||
19 | } | ||