diff options
author | Melanie | 2012-01-27 23:30:26 +0000 |
---|---|---|
committer | Melanie | 2012-01-27 23:30:26 +0000 |
commit | 26a4e8a16170edf8fb55b10ba2e6febd7c6a588f (patch) | |
tree | a6f66c622d890f5cfaee0cf49e1a8a0938ffe641 /OpenSim/Region/ScriptEngine/Shared/Api/Interface | |
parent | Merge branch 'master' into careminster (diff) | |
parent | Increment LPS script stat for OSSL functions that were not already doing this (diff) | |
download | opensim-SC-26a4e8a16170edf8fb55b10ba2e6febd7c6a588f.zip opensim-SC-26a4e8a16170edf8fb55b10ba2e6febd7c6a588f.tar.gz opensim-SC-26a4e8a16170edf8fb55b10ba2e6febd7c6a588f.tar.bz2 opensim-SC-26a4e8a16170edf8fb55b10ba2e6febd7c6a588f.tar.xz |
Merge branch 'master' into careminster
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Api/Interface')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Interface/IOSSL_Api.cs | 55 |
1 files changed, 36 insertions, 19 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Interface/IOSSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Interface/IOSSL_Api.cs index 6388704..ca24051 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Interface/IOSSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Interface/IOSSL_Api.cs | |||
@@ -173,25 +173,42 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api.Interfaces | |||
173 | 173 | ||
174 | LSL_List osGetLinkPrimitiveParams(int linknumber, LSL_List rules); | 174 | LSL_List osGetLinkPrimitiveParams(int linknumber, LSL_List rules); |
175 | 175 | ||
176 | key osNpcCreate(string user, string name, vector position, string notecard); | 176 | /// <summary> |
177 | key osNpcCreate(string user, string name, vector position, string notecard, int options); | 177 | /// Check if the given key is an npc |
178 | LSL_Key osNpcSaveAppearance(key npc, string notecard); | 178 | /// </summary> |
179 | void osNpcLoadAppearance(key npc, string notecard); | 179 | /// <param name="npc"></param> |
180 | vector osNpcGetPos(key npc); | 180 | /// <returns>TRUE if the key belongs to an npc in the scene. FALSE otherwise.</returns> |
181 | void osNpcMoveTo(key npc, vector position); | 181 | LSL_Integer osIsNpc(LSL_Key npc); |
182 | void osNpcMoveToTarget(key npc, vector target, int options); | 182 | |
183 | rotation osNpcGetRot(key npc); | 183 | key osNpcCreate(string user, string name, vector position, string notecard); |
184 | void osNpcSetRot(LSL_Key npc, rotation rot); | 184 | key osNpcCreate(string user, string name, vector position, string notecard, int options); |
185 | void osNpcStopMoveToTarget(LSL_Key npc); | 185 | LSL_Key osNpcSaveAppearance(key npc, string notecard); |
186 | void osNpcSay(key npc, string message); | 186 | void osNpcLoadAppearance(key npc, string notecard); |
187 | void osNpcSit(key npc, key target, int options); | 187 | vector osNpcGetPos(key npc); |
188 | void osNpcStand(LSL_Key npc); | 188 | void osNpcMoveTo(key npc, vector position); |
189 | void osNpcRemove(key npc); | 189 | void osNpcMoveToTarget(key npc, vector target, int options); |
190 | void osNpcPlayAnimation(LSL_Key npc, string animation); | 190 | |
191 | void osNpcStopAnimation(LSL_Key npc, string animation); | 191 | /// <summary> |
192 | 192 | /// Get the owner of the NPC | |
193 | LSL_Key osOwnerSaveAppearance(string notecard); | 193 | /// </summary> |
194 | LSL_Key osAgentSaveAppearance(key agentId, string notecard); | 194 | /// <param name="npc"></param> |
195 | /// <returns> | ||
196 | /// The owner of the NPC for an owned NPC. The NPC's agent id for an unowned NPC. UUID.Zero if the key is not an npc. | ||
197 | /// </returns> | ||
198 | LSL_Key osNpcGetOwner(key npc); | ||
199 | |||
200 | rotation osNpcGetRot(key npc); | ||
201 | void osNpcSetRot(LSL_Key npc, rotation rot); | ||
202 | void osNpcStopMoveToTarget(LSL_Key npc); | ||
203 | void osNpcSay(key npc, string message); | ||
204 | void osNpcSit(key npc, key target, int options); | ||
205 | void osNpcStand(LSL_Key npc); | ||
206 | void osNpcRemove(key npc); | ||
207 | void osNpcPlayAnimation(LSL_Key npc, string animation); | ||
208 | void osNpcStopAnimation(LSL_Key npc, string animation); | ||
209 | |||
210 | LSL_Key osOwnerSaveAppearance(string notecard); | ||
211 | LSL_Key osAgentSaveAppearance(key agentId, string notecard); | ||
195 | 212 | ||
196 | key osGetMapTexture(); | 213 | key osGetMapTexture(); |
197 | key osGetRegionMapTexture(string regionName); | 214 | key osGetRegionMapTexture(string regionName); |