diff options
author | Tedd Hansen | 2008-09-17 16:46:23 +0000 |
---|---|---|
committer | Tedd Hansen | 2008-09-17 16:46:23 +0000 |
commit | e94d6f12eeb3bd84a752fc401847b4c25d39cdac (patch) | |
tree | a4d4f1d91df2f2dd2d6fc715c7b8e9bb241f5784 /OpenSim/Grid/ScriptEngine/Common | |
parent | * SSL Documentation update from Lexa (diff) | |
download | opensim-SC_OLD-e94d6f12eeb3bd84a752fc401847b4c25d39cdac.zip opensim-SC_OLD-e94d6f12eeb3bd84a752fc401847b4c25d39cdac.tar.gz opensim-SC_OLD-e94d6f12eeb3bd84a752fc401847b4c25d39cdac.tar.bz2 opensim-SC_OLD-e94d6f12eeb3bd84a752fc401847b4c25d39cdac.tar.xz |
More ScriptEngine cleanup
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Grid/ScriptEngine/Common/Executor.cs | 137 | ||||
-rw-r--r-- | OpenSim/Grid/ScriptEngine/Common/IScript.cs | 35 | ||||
-rw-r--r-- | OpenSim/Grid/ScriptEngine/Common/LSL_BuiltIn_Commands_Interface.cs | 635 | ||||
-rw-r--r-- | OpenSim/Grid/ScriptEngine/Common/LSL_Types.cs | 82 | ||||
-rw-r--r-- | OpenSim/Grid/ScriptEngine/Common/Properties/AssemblyInfo.cs | 63 |
5 files changed, 0 insertions, 952 deletions
diff --git a/OpenSim/Grid/ScriptEngine/Common/Executor.cs b/OpenSim/Grid/ScriptEngine/Common/Executor.cs deleted file mode 100644 index 676af7b..0000000 --- a/OpenSim/Grid/ScriptEngine/Common/Executor.cs +++ /dev/null | |||
@@ -1,137 +0,0 @@ | |||
1 | /* | ||
2 | * Copyright (c) Contributors, http://opensimulator.org/ | ||
3 | * See CONTRIBUTORS.TXT for a full list of copyright holders. | ||
4 | * | ||
5 | * Redistribution and use in source and binary forms, with or without | ||
6 | * modification, are permitted provided that the following conditions are met: | ||
7 | * * Redistributions of source code must retain the above copyright | ||
8 | * notice, this list of conditions and the following disclaimer. | ||
9 | * * Redistributions in binary form must reproduce the above copyright | ||
10 | * notice, this list of conditions and the following disclaimer in the | ||
11 | * documentation and/or other materials provided with the distribution. | ||
12 | * * Neither the name of the OpenSim Project nor the | ||
13 | * names of its contributors may be used to endorse or promote products | ||
14 | * derived from this software without specific prior written permission. | ||
15 | * | ||
16 | * THIS SOFTWARE IS PROVIDED BY THE DEVELOPERS ``AS IS'' AND ANY | ||
17 | * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED | ||
18 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE | ||
19 | * DISCLAIMED. IN NO EVENT SHALL THE CONTRIBUTORS BE LIABLE FOR ANY | ||
20 | * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES | ||
21 | * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; | ||
22 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND | ||
23 | * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
24 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS | ||
25 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
26 | */ | ||
27 | |||
28 | using System; | ||
29 | using System.Collections.Generic; | ||
30 | using System.Reflection; | ||
31 | using System.Runtime.Remoting.Lifetime; | ||
32 | |||
33 | namespace OpenSim.Grid.ScriptEngine.Common | ||
34 | { | ||
35 | public class Executor : MarshalByRefObject | ||
36 | { | ||
37 | // Private instance for each script | ||
38 | |||
39 | private IScript m_Script; | ||
40 | private Dictionary<string, MethodInfo> Events = new Dictionary<string, MethodInfo>(); | ||
41 | private bool m_Running = true; | ||
42 | //private List<IScript> Scripts = new List<IScript>(); | ||
43 | |||
44 | public Executor(IScript Script) | ||
45 | { | ||
46 | m_Script = Script; | ||
47 | } | ||
48 | |||
49 | // Object never expires | ||
50 | public override Object InitializeLifetimeService() | ||
51 | { | ||
52 | //Console.WriteLine("Executor: InitializeLifetimeService()"); | ||
53 | // return null; | ||
54 | ILease lease = (ILease) base.InitializeLifetimeService(); | ||
55 | |||
56 | if (lease.CurrentState == LeaseState.Initial) | ||
57 | { | ||
58 | lease.InitialLeaseTime = TimeSpan.Zero; // TimeSpan.FromMinutes(1); | ||
59 | // lease.SponsorshipTimeout = TimeSpan.FromMinutes(2); | ||
60 | // lease.RenewOnCallTime = TimeSpan.FromSeconds(2); | ||
61 | } | ||
62 | return lease; | ||
63 | } | ||
64 | |||
65 | public AppDomain GetAppDomain() | ||
66 | { | ||
67 | return AppDomain.CurrentDomain; | ||
68 | } | ||
69 | |||
70 | public void ExecuteEvent(string FunctionName, object[] args) | ||
71 | { | ||
72 | // IMPORTANT: Types and MemberInfo-derived objects require a LOT of memory. | ||
73 | // Instead use RuntimeTypeHandle, RuntimeFieldHandle and RunTimeHandle (IntPtr) instead! | ||
74 | //try | ||
75 | //{ | ||
76 | if (m_Running == false) | ||
77 | { | ||
78 | // Script is inactive, do not execute! | ||
79 | return; | ||
80 | } | ||
81 | |||
82 | string EventName = m_Script.State() + "_event_" + FunctionName; | ||
83 | |||
84 | //type.InvokeMember(EventName, BindingFlags.InvokeMethod, null, m_Script, args); | ||
85 | |||
86 | //Console.WriteLine("ScriptEngine Executor.ExecuteEvent: \"" + EventName + "\""); | ||
87 | |||
88 | if (Events.ContainsKey(EventName) == false) | ||
89 | { | ||
90 | // Not found, create | ||
91 | Type type = m_Script.GetType(); | ||
92 | try | ||
93 | { | ||
94 | MethodInfo mi = type.GetMethod(EventName); | ||
95 | Events.Add(EventName, mi); | ||
96 | } | ||
97 | catch | ||
98 | { | ||
99 | // Event name not found, cache it as not found | ||
100 | Events.Add(EventName, null); | ||
101 | } | ||
102 | } | ||
103 | |||
104 | // Get event | ||
105 | MethodInfo ev = null; | ||
106 | Events.TryGetValue(EventName, out ev); | ||
107 | |||
108 | if (ev == null) // No event by that name! | ||
109 | { | ||
110 | //Console.WriteLine("ScriptEngine Can not find any event named: \"" + EventName + "\""); | ||
111 | return; | ||
112 | } | ||
113 | |||
114 | // Found | ||
115 | //try | ||
116 | //{ | ||
117 | // Invoke it | ||
118 | ev.Invoke(m_Script, args); | ||
119 | |||
120 | //} | ||
121 | //catch (Exception e) | ||
122 | //{ | ||
123 | // // TODO: Send to correct place | ||
124 | // Console.WriteLine("ScriptEngine Exception attempting to executing script function: " + e.ToString()); | ||
125 | //} | ||
126 | |||
127 | |||
128 | //} | ||
129 | //catch { } | ||
130 | } | ||
131 | |||
132 | public void StopScript() | ||
133 | { | ||
134 | m_Running = false; | ||
135 | } | ||
136 | } | ||
137 | } | ||
diff --git a/OpenSim/Grid/ScriptEngine/Common/IScript.cs b/OpenSim/Grid/ScriptEngine/Common/IScript.cs deleted file mode 100644 index 9ebf683..0000000 --- a/OpenSim/Grid/ScriptEngine/Common/IScript.cs +++ /dev/null | |||
@@ -1,35 +0,0 @@ | |||
1 | /* | ||
2 | * Copyright (c) Contributors, http://opensimulator.org/ | ||
3 | * See CONTRIBUTORS.TXT for a full list of copyright holders. | ||
4 | * | ||
5 | * Redistribution and use in source and binary forms, with or without | ||
6 | * modification, are permitted provided that the following conditions are met: | ||
7 | * * Redistributions of source code must retain the above copyright | ||
8 | * notice, this list of conditions and the following disclaimer. | ||
9 | * * Redistributions in binary form must reproduce the above copyright | ||
10 | * notice, this list of conditions and the following disclaimer in the | ||
11 | * documentation and/or other materials provided with the distribution. | ||
12 | * * Neither the name of the OpenSim Project nor the | ||
13 | * names of its contributors may be used to endorse or promote products | ||
14 | * derived from this software without specific prior written permission. | ||
15 | * | ||
16 | * THIS SOFTWARE IS PROVIDED BY THE DEVELOPERS ``AS IS'' AND ANY | ||
17 | * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED | ||
18 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE | ||
19 | * DISCLAIMED. IN NO EVENT SHALL THE CONTRIBUTORS BE LIABLE FOR ANY | ||
20 | * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES | ||
21 | * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; | ||
22 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND | ||
23 | * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
24 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS | ||
25 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
26 | */ | ||
27 | |||
28 | namespace OpenSim.Grid.ScriptEngine.Common | ||
29 | { | ||
30 | public interface IScript | ||
31 | { | ||
32 | string State(); | ||
33 | Executor Exec { get; } | ||
34 | } | ||
35 | } | ||
diff --git a/OpenSim/Grid/ScriptEngine/Common/LSL_BuiltIn_Commands_Interface.cs b/OpenSim/Grid/ScriptEngine/Common/LSL_BuiltIn_Commands_Interface.cs deleted file mode 100644 index 422af46..0000000 --- a/OpenSim/Grid/ScriptEngine/Common/LSL_BuiltIn_Commands_Interface.cs +++ /dev/null | |||
@@ -1,635 +0,0 @@ | |||
1 | /* | ||
2 | * Copyright (c) Contributors, http://opensimulator.org/ | ||
3 | * See CONTRIBUTORS.TXT for a full list of copyright holders. | ||
4 | * | ||
5 | * Redistribution and use in source and binary forms, with or without | ||
6 | * modification, are permitted provided that the following conditions are met: | ||
7 | * * Redistributions of source code must retain the above copyright | ||
8 | * notice, this list of conditions and the following disclaimer. | ||
9 | * * Redistributions in binary form must reproduce the above copyright | ||
10 | * notice, this list of conditions and the following disclaimer in the | ||
11 | * documentation and/or other materials provided with the distribution. | ||
12 | * * Neither the name of the OpenSim Project nor the | ||
13 | * names of its contributors may be used to endorse or promote products | ||
14 | * derived from this software without specific prior written permission. | ||
15 | * | ||
16 | * THIS SOFTWARE IS PROVIDED BY THE DEVELOPERS ``AS IS'' AND ANY | ||
17 | * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED | ||
18 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE | ||
19 | * DISCLAIMED. IN NO EVENT SHALL THE CONTRIBUTORS BE LIABLE FOR ANY | ||
20 | * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES | ||
21 | * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; | ||
22 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND | ||
23 | * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
24 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS | ||
25 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
26 | */ | ||
27 | |||
28 | /* Original code: Tedd Hansen */ | ||
29 | using System.Collections.Generic; | ||
30 | |||
31 | namespace OpenSim.Grid.ScriptEngine.Common | ||
32 | { | ||
33 | public interface LSL_BuiltIn_Commands_Interface | ||
34 | { | ||
35 | string State(); | ||
36 | |||
37 | double llSin(double f); | ||
38 | double llCos(double f); | ||
39 | double llTan(double f); | ||
40 | double llAtan2(double x, double y); | ||
41 | double llSqrt(double f); | ||
42 | double llPow(double fbase, double fexponent); | ||
43 | int llAbs(int i); | ||
44 | double llFabs(double f); | ||
45 | double llFrand(double mag); | ||
46 | int llFloor(double f); | ||
47 | int llCeil(double f); | ||
48 | int llRound(double f); | ||
49 | double llVecMag(LSL_Types.Vector3 v); | ||
50 | LSL_Types.Vector3 llVecNorm(LSL_Types.Vector3 v); | ||
51 | double llVecDist(LSL_Types.Vector3 a, LSL_Types.Vector3 b); | ||
52 | LSL_Types.Vector3 llRot2Euler(LSL_Types.Quaternion r); | ||
53 | LSL_Types.Quaternion llEuler2Rot(LSL_Types.Vector3 v); | ||
54 | LSL_Types.Quaternion llAxes2Rot(LSL_Types.Vector3 fwd, LSL_Types.Vector3 left, LSL_Types.Vector3 up); | ||
55 | LSL_Types.Vector3 llRot2Fwd(LSL_Types.Quaternion r); | ||
56 | LSL_Types.Vector3 llRot2Left(LSL_Types.Quaternion r); | ||
57 | LSL_Types.Vector3 llRot2Up(LSL_Types.Quaternion r); | ||
58 | LSL_Types.Quaternion llRotBetween(LSL_Types.Vector3 start, LSL_Types.Vector3 end); | ||
59 | void llWhisper(int channelID, string text); | ||
60 | void llSay(int channelID, string text); | ||
61 | void llShout(int channelID, string text); | ||
62 | int llListen(int channelID, string name, string ID, string msg); | ||
63 | void llListenControl(int number, int active); | ||
64 | void llListenRemove(int number); | ||
65 | void llSensor(string name, string id, int type, double range, double arc); | ||
66 | void llSensorRepeat(string name, string id, int type, double range, double arc, double rate); | ||
67 | void llSensorRemove(); | ||
68 | string llDetectedName(int number); | ||
69 | string llDetectedKey(int number); | ||
70 | string llDetectedOwner(int number); | ||
71 | int llDetectedType(int number); | ||
72 | LSL_Types.Vector3 llDetectedPos(int number); | ||
73 | LSL_Types.Vector3 llDetectedVel(int number); | ||
74 | LSL_Types.Vector3 llDetectedGrab(int number); | ||
75 | LSL_Types.Quaternion llDetectedRot(int number); | ||
76 | int llDetectedGroup(int number); | ||
77 | int llDetectedLinkNumber(int number); | ||
78 | void llDie(); | ||
79 | double llGround(LSL_Types.Vector3 offset); | ||
80 | double llCloud(LSL_Types.Vector3 offset); | ||
81 | LSL_Types.Vector3 llWind(LSL_Types.Vector3 offset); | ||
82 | void llSetStatus(int status, int value); | ||
83 | int llGetStatus(int status); | ||
84 | void llSetScale(LSL_Types.Vector3 scale); | ||
85 | LSL_Types.Vector3 llGetScale(); | ||
86 | void llSetColor(LSL_Types.Vector3 color, int face); | ||
87 | double llGetAlpha(int face); | ||
88 | void llSetAlpha(double alpha, int face); | ||
89 | LSL_Types.Vector3 llGetColor(int face); | ||
90 | void llSetTexture(string texture, int face); | ||
91 | void llScaleTexture(double u, double v, int face); | ||
92 | void llOffsetTexture(double u, double v, int face); | ||
93 | void llRotateTexture(double rotation, int face); | ||
94 | string llGetTexture(int face); | ||
95 | void llSetPos(LSL_Types.Vector3 pos); | ||
96 | |||
97 | //wiki: vector llGetPos() | ||
98 | LSL_Types.Vector3 llGetPos(); | ||
99 | //wiki: vector llGetLocalPos() | ||
100 | LSL_Types.Vector3 llGetLocalPos(); | ||
101 | //wiki: llSetRot(rotation rot) | ||
102 | void llSetRot(LSL_Types.Quaternion rot); | ||
103 | //wiki: rotation llGetRot() | ||
104 | LSL_Types.Quaternion llGetRot(); | ||
105 | //wiki: rotation llGetLocalRot() | ||
106 | LSL_Types.Quaternion llGetLocalRot(); | ||
107 | //wiki: llSetForce(vector force, integer local) | ||
108 | void llSetForce(LSL_Types.Vector3 force, int local); | ||
109 | //wiki: vector llGetForce() | ||
110 | LSL_Types.Vector3 llGetForce(); | ||
111 | //wiki: integer llTarget(vector position, double range) | ||
112 | int llTarget(LSL_Types.Vector3 position, double range); | ||
113 | //wiki: llTargetRemove(integer number) | ||
114 | void llTargetRemove(int number); | ||
115 | //wiki: integer llRotTarget(rotation rot, double error) | ||
116 | int llRotTarget(LSL_Types.Quaternion rot, double error); | ||
117 | //wiki: integer llRotTargetRemove(integer number) | ||
118 | void llRotTargetRemove(int number); | ||
119 | //wiki: llMoveToTarget(vector target, double tau) | ||
120 | void llMoveToTarget(LSL_Types.Vector3 target, double tau); | ||
121 | //wiki: llStopMoveToTarget() | ||
122 | void llStopMoveToTarget(); | ||
123 | //wiki: llApplyImpulse(vector force, integer local) | ||
124 | void llApplyImpulse(LSL_Types.Vector3 force, int local); | ||
125 | //wiki: llapplyRotationalImpulse(vector force, integer local) | ||
126 | void llApplyRotationalImpulse(LSL_Types.Vector3 force, int local); | ||
127 | //wiki: llSetTorque(vector torque, integer local) | ||
128 | void llSetTorque(LSL_Types.Vector3 torque, int local); | ||
129 | //wiki: vector llGetTorque() | ||
130 | LSL_Types.Vector3 llGetTorque(); | ||
131 | //wiki: llSeForceAndTorque(vector force, vector torque, integer local) | ||
132 | void llSetForceAndTorque(LSL_Types.Vector3 force, LSL_Types.Vector3 torque, int local); | ||
133 | //wiki: vector llGetVel() | ||
134 | LSL_Types.Vector3 llGetVel(); | ||
135 | //wiki: vector llGetAccel() | ||
136 | LSL_Types.Vector3 llGetAccel(); | ||
137 | //wiki: vector llGetOmega() | ||
138 | LSL_Types.Vector3 llGetOmega(); | ||
139 | //wiki: double llGetTimeOfDay() | ||
140 | double llGetTimeOfDay(); | ||
141 | //wiki: double llGetWallclock() | ||
142 | double llGetWallclock(); | ||
143 | //wiki: double llGetTime() | ||
144 | double llGetTime(); | ||
145 | //wiki: llResetTime() | ||
146 | void llResetTime(); | ||
147 | //wiki: double llGetAndResetTime() | ||
148 | double llGetAndResetTime(); | ||
149 | //wiki (deprecated) llSound(string sound, double volume, integer queue, integer loop) | ||
150 | void llSound(); | ||
151 | //wiki: llPlaySound(string sound, double volume) | ||
152 | void llPlaySound(string sound, double volume); | ||
153 | //wiki: llLoopSound(string sound, double volume) | ||
154 | void llLoopSound(string sound, double volume); | ||
155 | //wiki: llLoopSoundMaster(string sound, double volume) | ||
156 | void llLoopSoundMaster(string sound, double volume); | ||
157 | //wiki: llLoopSoundSlave(string sound, double volume) | ||
158 | void llLoopSoundSlave(string sound, double volume); | ||
159 | //wiki llPlaySoundSlave(string sound, double volume) | ||
160 | void llPlaySoundSlave(string sound, double volume); | ||
161 | //wiki: llTriggerSound(string sound, double volume) | ||
162 | void llTriggerSound(string sound, double volume); | ||
163 | //wiki: llStopSound() | ||
164 | void llStopSound(); | ||
165 | //wiki: llPreloadSound(string sound) | ||
166 | void llPreloadSound(string sound); | ||
167 | //wiki: string llGetSubString(string src, integer start, integer end) | ||
168 | string llGetSubString(string src, int start, int end); | ||
169 | //wiki: string llDeleteSubString(string src, integer start, integer end) | ||
170 | string llDeleteSubString(string src, int start, int end); | ||
171 | //wiki string llInsertString(string dst, integer position, string src) | ||
172 | string llInsertString(string dst, int position, string src); | ||
173 | //wiki: string llToUpper(string source) | ||
174 | string llToUpper(string source); | ||
175 | //wiki: string llToLower(string source) | ||
176 | string llToLower(string source); | ||
177 | //wiki: integer llGiveMoney(key destination, integer amount) | ||
178 | int llGiveMoney(string destination, int amount); | ||
179 | //wiki: (deprecated) | ||
180 | void llMakeExplosion(); | ||
181 | //wiki: (deprecated) | ||
182 | void llMakeFountain(); | ||
183 | //wiki: (deprecated) | ||
184 | void llMakeSmoke(); | ||
185 | //wiki: (deprecated) | ||
186 | void llMakeFire(); | ||
187 | //wiki: llRezObject(string inventory, vector pos, vector rel, rotation rot, integer param) | ||
188 | void llRezObject(string inventory, LSL_Types.Vector3 pos, LSL_Types.Quaternion rot, int param); | ||
189 | //wiki: llLookAt(vector target, double strength, double damping) | ||
190 | void llLookAt(LSL_Types.Vector3 target, double strength, double damping); | ||
191 | //wiki: llStopLookAt() | ||
192 | void llStopLookAt(); | ||
193 | //wiki: llSetTimerEvent(double sec) | ||
194 | void llSetTimerEvent(double sec); | ||
195 | //wiki: llSleep(double sec) | ||
196 | void llSleep(double sec); | ||
197 | //wiki: double llGetMass() | ||
198 | double llGetMass(); | ||
199 | //wiki: llCollisionFilter(string name, key id, integer accept) | ||
200 | void llCollisionFilter(string name, string id, int accept); | ||
201 | //wiki: llTakeControls(integer controls, integer accept, integer pass_on) | ||
202 | void llTakeControls(int controls, int accept, int pass_on); | ||
203 | //wiki: llReleaseControls() | ||
204 | void llReleaseControls(); | ||
205 | //wiki: llAttachToAvatar(integer attachment) | ||
206 | void llAttachToAvatar(int attachment); | ||
207 | //wiki: llDetachFromAvatar() | ||
208 | void llDetachFromAvatar(); | ||
209 | //wiki: (deprecated) llTakeCamera() | ||
210 | void llTakeCamera(); | ||
211 | //wiki: (deprecated) llReleaseCamera() | ||
212 | void llReleaseCamera(); | ||
213 | //wiki: key llGetOwner() | ||
214 | string llGetOwner(); | ||
215 | //wiki: llInstantMessage(key user, string message) | ||
216 | void llInstantMessage(string user, string message); | ||
217 | //wiki: llEmail(string address, string subject, string message) | ||
218 | void llEmail(string address, string subject, string message); | ||
219 | //wiki: llGetNextEmail(string address, string subject) | ||
220 | void llGetNextEmail(string address, string subject); | ||
221 | //wiki: key llGetKey() | ||
222 | string llGetKey(); | ||
223 | //wiki: llSetBuoyancy(double buoyancy) | ||
224 | void llSetBuoyancy(double buoyancy); | ||
225 | //wiki: llSetHoverHeight(double height, integer water, double tau) | ||
226 | void llSetHoverHeight(double height, int water, double tau); | ||
227 | //wiki: llStopHover | ||
228 | void llStopHover(); | ||
229 | //wiki: llMinEventDelay(double delay) | ||
230 | void llMinEventDelay(double delay); | ||
231 | //wiki: (deprecated) llSoundPreload() | ||
232 | void llSoundPreload(); | ||
233 | //wiki: llRotLookAt(rotation target, double strength, double damping) | ||
234 | void llRotLookAt(LSL_Types.Quaternion target, double strength, double damping); | ||
235 | //wiki: integer llStringLength(string str) | ||
236 | int llStringLength(string str); | ||
237 | //wiki: llStartAnimation(string anim) | ||
238 | void llStartAnimation(string anim); | ||
239 | //wiki: llStopAnimation(string anim) | ||
240 | void llStopAnimation(string anim); | ||
241 | //wiki: (deprecated) llPointAt | ||
242 | void llPointAt(); | ||
243 | //wiki: (deprecated) llStopPointAt | ||
244 | void llStopPointAt(); | ||
245 | //wiki: llTargetOmega(vector axis, double spinrate, double gain) | ||
246 | void llTargetOmega(LSL_Types.Vector3 axis, double spinrate, double gain); | ||
247 | //wiki: integer llGetStartParameter() | ||
248 | int llGetStartParameter(); | ||
249 | //wiki: llGodLikeRezObject(key inventory, vector pos) | ||
250 | void llGodLikeRezObject(string inventory, LSL_Types.Vector3 pos); | ||
251 | //wiki: llRequestPermissions(key agent, integer perm) | ||
252 | void llRequestPermissions(string agent, int perm); | ||
253 | //wiki: key llGetPermissionsKey() | ||
254 | string llGetPermissionsKey(); | ||
255 | //wiki: integer llGetPermissions() | ||
256 | int llGetPermissions(); | ||
257 | //wiki integer llGetLinkNumber() | ||
258 | int llGetLinkNumber(); | ||
259 | //wiki: llSetLinkColor(integer linknumber, vector color, integer face) | ||
260 | void llSetLinkColor(int linknumber, LSL_Types.Vector3 color, int face); | ||
261 | //wiki: llCreateLink(key target, integer parent) | ||
262 | void llCreateLink(string target, int parent); | ||
263 | //wiki: llBreakLink(integer linknum) | ||
264 | void llBreakLink(int linknum); | ||
265 | //wiki: llBreakAllLinks() | ||
266 | void llBreakAllLinks(); | ||
267 | //wiki: key llGetLinkKey(integer linknum) | ||
268 | string llGetLinkKey(int linknum); | ||
269 | //wiki: llGetLinkName(integer linknum) | ||
270 | void llGetLinkName(int linknum); | ||
271 | //wiki: integer llGetInventoryNumber(integer type) | ||
272 | int llGetInventoryNumber(int type); | ||
273 | //wiki: string llGetInventoryName(integer type, integer number) | ||
274 | string llGetInventoryName(int type, int number); | ||
275 | //wiki: llSetScriptState(string name, integer run) | ||
276 | void llSetScriptState(string name, int run); | ||
277 | //wiki: double llGetEnergy() | ||
278 | double llGetEnergy(); | ||
279 | //wiki: llGiveInventory(key destination, string inventory) | ||
280 | void llGiveInventory(string destination, string inventory); | ||
281 | //wiki: llRemoveInventory(string item) | ||
282 | void llRemoveInventory(string item); | ||
283 | //wiki: llSetText(string text, vector color, double alpha) | ||
284 | void llSetText(string text, LSL_Types.Vector3 color, double alpha); | ||
285 | //wiki: double llWater(vector offset) | ||
286 | double llWater(LSL_Types.Vector3 offset); | ||
287 | //wiki: llPassTouches(integer pass) | ||
288 | void llPassTouches(int pass); | ||
289 | //wiki: key llRequestAgentData(key id, integer data) | ||
290 | string llRequestAgentData(string id, int data); | ||
291 | //wiki: key llRequestInventoryData(string name) | ||
292 | string llRequestInventoryData(string name); | ||
293 | //wiki: llSetDamage(double damage) | ||
294 | void llSetDamage(double damage); | ||
295 | //wiki: llTeleportAgentHome(key agent) | ||
296 | void llTeleportAgentHome(string agent); | ||
297 | //wiki: llModifyLand(integer action, integer brush) | ||
298 | void llModifyLand(int action, int brush); | ||
299 | //wiki: llCollisionSound(string impact_sound, double impact_volume) | ||
300 | void llCollisionSound(string impact_sound, double impact_volume); | ||
301 | //wiki: llCollisionSprite(string impact_sprite) | ||
302 | void llCollisionSprite(string impact_sprite); | ||
303 | //wiki: string llGetAnimation(key id) | ||
304 | string llGetAnimation(string id); | ||
305 | //wiki: llResetScript() | ||
306 | void llResetScript(); | ||
307 | //wiki: llMessageLinked(integer linknum, integer num, string str, key id) | ||
308 | void llMessageLinked(int linknum, int num, string str, string id); | ||
309 | //wiki: llPushObject(key target, vector impulse, vector ang_impulse, integer local) | ||
310 | void llPushObject(string target, LSL_Types.Vector3 impulse, LSL_Types.Vector3 ang_impulse, int local); | ||
311 | //wiki: llPassCollisions(integer pass) | ||
312 | void llPassCollisions(int pass); | ||
313 | //wiki: string llGetScriptName() | ||
314 | string llGetScriptName(); | ||
315 | //wiki: integer llGetNumberOfSides() | ||
316 | int llGetNumberOfSides(); | ||
317 | //wiki: rotation llAxisAngle2Rot(vector axis, double angle) | ||
318 | LSL_Types.Quaternion llAxisAngle2Rot(LSL_Types.Vector3 axis, double angle); | ||
319 | //wiki: vector llRot2Axis(rotation rot) | ||
320 | LSL_Types.Vector3 llRot2Axis(LSL_Types.Quaternion rot); | ||
321 | void llRot2Angle(); | ||
322 | //wiki: double llAcos(double val) | ||
323 | double llAcos(double val); | ||
324 | //wiki: double llAsin(double val) | ||
325 | double llAsin(double val); | ||
326 | //wiki: double llAngleBetween(rotation a, rotation b) | ||
327 | double llAngleBetween(LSL_Types.Quaternion a, LSL_Types.Quaternion b); | ||
328 | //wiki: string llGetInventoryKey(string name) | ||
329 | string llGetInventoryKey(string name); | ||
330 | //wiki: llAllowInventoryDrop(integer add) | ||
331 | void llAllowInventoryDrop(int add); | ||
332 | //wiki: vector llGetSunDirection() | ||
333 | LSL_Types.Vector3 llGetSunDirection(); | ||
334 | //wiki: vector llGetTextureOffset(integer face) | ||
335 | LSL_Types.Vector3 llGetTextureOffset(int face); | ||
336 | //wiki: vector llGetTextureScale(integer side) | ||
337 | LSL_Types.Vector3 llGetTextureScale(int side); | ||
338 | //wiki: double llGetTextureRot(integer side) | ||
339 | double llGetTextureRot(int side); | ||
340 | //wiki: integer llSubStringIndex(string source, string pattern) | ||
341 | int llSubStringIndex(string source, string pattern); | ||
342 | //wiki: key llGetOwnerKey(key id) | ||
343 | string llGetOwnerKey(string id); | ||
344 | //wiki: vector llGetCenterOfMass() | ||
345 | LSL_Types.Vector3 llGetCenterOfMass(); | ||
346 | //wiki: list llListSort(list src, integer stride, integer ascending) | ||
347 | List<string> llListSort(List<string> src, int stride, int ascending); | ||
348 | //integer llGetListLength(list src) | ||
349 | int llGetListLength(List<string> src); | ||
350 | //wiki: integer llList2Integer(list src, integer index) | ||
351 | int llList2Integer(List<string> src, int index); | ||
352 | //wiki: double llList2double(list src, integer index) | ||
353 | double llList2double(List<string> src, int index); | ||
354 | //wiki: string llList2String(list src, integer index) | ||
355 | string llList2String(List<string> src, int index); | ||
356 | //wiki: key llList2Key(list src, integer index) | ||
357 | string llList2Key(List<string> src, int index); | ||
358 | //wiki: vector llList2Vector(list src, integer index) | ||
359 | LSL_Types.Vector3 llList2Vector(List<string> src, int index); | ||
360 | //wiki rotation llList2Rot(list src, integer index) | ||
361 | LSL_Types.Quaternion llList2Rot(List<string> src, int index); | ||
362 | //wiki: list llList2List(list src, integer start, integer end) | ||
363 | List<string> llList2List(List<string> src, int start, int end); | ||
364 | //wiki: llDeleteSubList(list src, integer start, integer end) | ||
365 | List<string> llDeleteSubList(List<string> src, int start, int end); | ||
366 | //wiki: integer llGetListEntryType(list src, integer index) | ||
367 | int llGetListEntryType(List<string> src, int index); | ||
368 | //wiki: string llList2CSV(list src) | ||
369 | string llList2CSV(List<string> src); | ||
370 | //wiki: list llCSV2List(string src) | ||
371 | List<string> llCSV2List(string src); | ||
372 | //wiki: list llListRandomize(list src, integer stride) | ||
373 | List<string> llListRandomize(List<string> src, int stride); | ||
374 | //wiki: list llList2ListStrided(list src, integer start, integer end, integer stride) | ||
375 | List<string> llList2ListStrided(List<string> src, int start, int end, int stride); | ||
376 | //wiki: vector llGetRegionCorner() | ||
377 | LSL_Types.Vector3 llGetRegionCorner(); | ||
378 | //wiki: list llListInsertList(list dest, list src, integer start) | ||
379 | List<string> llListInsertList(List<string> dest, List<string> src, int start); | ||
380 | //wiki: integer llListFindList(list src, list test) | ||
381 | int llListFindList(List<string> src, List<string> test); | ||
382 | //wiki: string llGetObjectName() | ||
383 | string llGetObjectName(); | ||
384 | //wiki: llSetObjectName(string name) | ||
385 | void llSetObjectName(string name); | ||
386 | //wiki: string llGetDate() | ||
387 | string llGetDate(); | ||
388 | //wiki: integer llEdgeOfWorld(vector pos, vector dir) | ||
389 | int llEdgeOfWorld(LSL_Types.Vector3 pos, LSL_Types.Vector3 dir); | ||
390 | //wiki: integer llGetAgentInfo(key id) | ||
391 | int llGetAgentInfo(string id); | ||
392 | //wiki: llAdjustSoundVolume(double volume) | ||
393 | void llAdjustSoundVolume(double volume); | ||
394 | //wiki: llSetSoundQueueing(integer queue) | ||
395 | void llSetSoundQueueing(int queue); | ||
396 | //wiki: llSetSoundRadius(double radius) | ||
397 | void llSetSoundRadius(double radius); | ||
398 | //wiki: string llKey2Name(key id) | ||
399 | string llKey2Name(string id); | ||
400 | //wiki: llSetTextureAnim(integer mode, integer face, integer sizex, integer sizey, double start, double length, double rate) | ||
401 | void llSetTextureAnim(int mode, int face, int sizex, int sizey, double start, double length, double rate); | ||
402 | //wiki: llTriggerSoundLimited(string sound, double volume, vector top_north_east, vector bottom_south_west) | ||
403 | void llTriggerSoundLimited(string sound, double volume, LSL_Types.Vector3 top_north_east, | ||
404 | LSL_Types.Vector3 bottom_south_west); | ||
405 | |||
406 | //wiki: llEjectFromLand(key pest) | ||
407 | void llEjectFromLand(string pest); | ||
408 | void llParseString2List(); | ||
409 | //wiki: integer llOverMyLand(key id) | ||
410 | int llOverMyLand(string id); | ||
411 | //wiki: key llGetLandOwnerAt(vector pos) | ||
412 | string llGetLandOwnerAt(LSL_Types.Vector3 pos); | ||
413 | //wiki: key llGetNotecardLine(string name, integer line) | ||
414 | string llGetNotecardLine(string name, int line); | ||
415 | //wiki: vector llGetAgentSize(key id) | ||
416 | LSL_Types.Vector3 llGetAgentSize(string id); | ||
417 | //wiki: integer llSameGroup(key agent) | ||
418 | int llSameGroup(string agent); | ||
419 | //wiki: llUnSit(key id) | ||
420 | void llUnSit(string id); | ||
421 | //wiki: vector llGroundSlope(vector offset) | ||
422 | LSL_Types.Vector3 llGroundSlope(LSL_Types.Vector3 offset); | ||
423 | //wiki: vector llGroundNormal(vector offset) | ||
424 | LSL_Types.Vector3 llGroundNormal(LSL_Types.Vector3 offset); | ||
425 | //wiki: vector llGroundContour(vector offset) | ||
426 | LSL_Types.Vector3 llGroundContour(LSL_Types.Vector3 offset); | ||
427 | //wiki: integer llGetAttached() | ||
428 | int llGetAttached(); | ||
429 | //wiki: integer llGetFreeMemory() | ||
430 | int llGetFreeMemory(); | ||
431 | //wiki: string llGetRegionName() | ||
432 | string llGetRegionName(); | ||
433 | //wiki: double llGetRegionTimeDilation() | ||
434 | double llGetRegionTimeDilation(); | ||
435 | //wiki: double llGetRegionFPS() | ||
436 | double llGetRegionFPS(); | ||
437 | //wiki: llParticleSystem(List<Object> rules | ||
438 | void llParticleSystem(List<object> rules); | ||
439 | //wiki: llGroundRepel(double height, integer water, double tau) | ||
440 | void llGroundRepel(double height, int water, double tau); | ||
441 | void llGiveInventoryList(); | ||
442 | //wiki: llSetVehicleType(integer type) | ||
443 | void llSetVehicleType(int type); | ||
444 | //wiki: llSetVehicledoubleParam(integer param, double value) | ||
445 | void llSetVehicledoubleParam(int param, double value); | ||
446 | //wiki: llSetVehicleVectorParam(integer param, vector vec) | ||
447 | void llSetVehicleVectorParam(int param, LSL_Types.Vector3 vec); | ||
448 | //wiki: llSetVehicleRotationParam(integer param, rotation rot) | ||
449 | void llSetVehicleRotationParam(int param, LSL_Types.Quaternion rot); | ||
450 | //wiki: llSetVehicleFlags(integer flags) | ||
451 | void llSetVehicleFlags(int flags); | ||
452 | //wiki: llRemoveVehicleFlags(integer flags) | ||
453 | void llRemoveVehicleFlags(int flags); | ||
454 | //wiki: llSitTarget(vector offset, rotation rot) | ||
455 | void llSitTarget(LSL_Types.Vector3 offset, LSL_Types.Quaternion rot); | ||
456 | //wiki key llAvatarOnSitTarget() | ||
457 | string llAvatarOnSitTarget(); | ||
458 | //wiki: llAddToLandPassList(key avatar, double hours) | ||
459 | void llAddToLandPassList(string avatar, double hours); | ||
460 | //wiki: llSetTouchText(string text) | ||
461 | void llSetTouchText(string text); | ||
462 | //wiki: llSetSitText(string text) | ||
463 | void llSetSitText(string text); | ||
464 | //wiki: llSetCameraEyeOffset(vector offset) | ||
465 | void llSetCameraEyeOffset(LSL_Types.Vector3 offset); | ||
466 | //wiki: llSeteCameraAtOffset(vector offset) | ||
467 | void llSetCameraAtOffset(LSL_Types.Vector3 offset); | ||
468 | void llDumpList2String(); | ||
469 | //wiki: integer llScriptDanger(vector pos) | ||
470 | void llScriptDanger(LSL_Types.Vector3 pos); | ||
471 | //wiki: llDialog(key avatar, string message, list buttons, integer chat_channel) | ||
472 | void llDialog(string avatar, string message, List<string> buttons, int chat_channel); | ||
473 | //wiki: llVolumeDetect(integer detect) | ||
474 | void llVolumeDetect(int detect); | ||
475 | //wiki: llResetOtherScript(string name) | ||
476 | void llResetOtherScript(string name); | ||
477 | //wiki: integer llGetScriptState(string name) | ||
478 | int llGetScriptState(string name); | ||
479 | //wiki: (deprecated) | ||
480 | void llRemoteLoadScript(); | ||
481 | //wiki: llSetRemoteScriptAccessPin(integer pin) | ||
482 | void llSetRemoteScriptAccessPin(int pin); | ||
483 | //wiki: llRemoteLoadScriptPin(key target, string name, integer pin, integer running, integer start_param) | ||
484 | void llRemoteLoadScriptPin(string target, string name, int pin, int running, int start_param); | ||
485 | //wiki: llOpenRemoteDataChannel() | ||
486 | void llOpenRemoteDataChannel(); | ||
487 | //wiki: key llSendRemoteData(key channel, string dest, integer idata, string sdata) | ||
488 | string llSendRemoteData(string channel, string dest, int idata, string sdata); | ||
489 | //wiki: llRemoteDataReply(key channel, key message_id, string sdata, integer idata) | ||
490 | void llRemoteDataReply(string channel, string message_id, string sdata, int idata); | ||
491 | //wiki: llCloseRemoteDataChannel(key channel) | ||
492 | void llCloseRemoteDataChannel(string channel); | ||
493 | //wiki: string llMD5String(string src, integer nonce) | ||
494 | string llMD5String(string src, int nonce); | ||
495 | //wiki: llSetPrimitiveParams(list rules) | ||
496 | void llSetPrimitiveParams(List<string> rules); | ||
497 | //wiki: string llStringToBase64(string str) | ||
498 | string llStringToBase64(string str); | ||
499 | //wiki: string llBase64ToString(string str) | ||
500 | string llBase64ToString(string str); | ||
501 | //wiki: (deprecated) | ||
502 | void llXorBase64Strings(); | ||
503 | //wiki: llRemoteDataSetRegion() | ||
504 | void llRemoteDataSetRegion(); | ||
505 | //wiki: double llLog10(double val) | ||
506 | double llLog10(double val); | ||
507 | //wiki: double llLog(double val) | ||
508 | double llLog(double val); | ||
509 | //wiki: list llGetAnimationList(key id) | ||
510 | List<string> llGetAnimationList(string id); | ||
511 | //wiki: llSetParcelMusicURL(string url) | ||
512 | void llSetParcelMusicURL(string url); | ||
513 | //wiki: vector llGetRootPosition() | ||
514 | LSL_Types.Vector3 llGetRootPosition(); | ||
515 | //wiki: rotation llGetRootRotation() | ||
516 | LSL_Types.Quaternion llGetRootRotation(); | ||
517 | //wiki: string llGetObjectDesc() | ||
518 | string llGetObjectDesc(); | ||
519 | //wiki: llSetObjectDesc(string desc) | ||
520 | void llSetObjectDesc(string desc); | ||
521 | //wiki: key llGetCreator() | ||
522 | string llGetCreator(); | ||
523 | //wiki: string llGetTimestamp() | ||
524 | string llGetTimestamp(); | ||
525 | //wiki: llSetLinkAlpha(integer linknumber, double alpha, integer face) | ||
526 | void llSetLinkAlpha(int linknumber, double alpha, int face); | ||
527 | //wiki: integer llGetNumberOfPrims() | ||
528 | int llGetNumberOfPrims(); | ||
529 | //wiki: key llGetNumberOfNotecardLines(string name) | ||
530 | string llGetNumberOfNotecardLines(string name); | ||
531 | //wiki: list llGetBoundingBox(key object) | ||
532 | List<string> llGetBoundingBox(string obj); | ||
533 | //wiki: vector llGetGeometricCenter() | ||
534 | LSL_Types.Vector3 llGetGeometricCenter(); | ||
535 | void llGetPrimitiveParams(); | ||
536 | //wiki: string llIntegerToBase64(integer number) | ||
537 | string llIntegerToBase64(int number); | ||
538 | //wiki integer llBase64ToInteger(string str) | ||
539 | int llBase64ToInteger(string str); | ||
540 | //wiki: double llGetGMTclock() | ||
541 | double llGetGMTclock(); | ||
542 | //wiki: string llGetSimulatorHostname() | ||
543 | string llGetSimulatorHostname(); | ||
544 | //llSetLocalRot(rotation rot) | ||
545 | void llSetLocalRot(LSL_Types.Quaternion rot); | ||
546 | //wiki: list llParseStringKeepNulls(string src, list separators, list spacers) | ||
547 | List<string> llParseStringKeepNulls(string src, List<string> seperators, List<string> spacers); | ||
548 | //wiki: llRezAtRoot(string inventory, vector position, vector velocity, rotation rot, integer param) | ||
549 | void llRezAtRoot(string inventory, LSL_Types.Vector3 position, LSL_Types.Vector3 velocity, | ||
550 | LSL_Types.Quaternion rot, int param); | ||
551 | |||
552 | //wiki: integer llGetObjectPermMask(integer mask) | ||
553 | int llGetObjectPermMask(int mask); | ||
554 | //wiki: llSetObjectPermMask(integer mask, integer value) | ||
555 | void llSetObjectPermMask(int mask, int value); | ||
556 | //wiki integer llGetInventoryPermMask(string item, integer mask) | ||
557 | void llGetInventoryPermMask(string item, int mask); | ||
558 | //wiki: llSetInventoryPermMask(string item, integer mask, integer value) | ||
559 | void llSetInventoryPermMask(string item, int mask, int value); | ||
560 | //wiki: key llGetInventoryCreator(string item) | ||
561 | string llGetInventoryCreator(string item); | ||
562 | //wiki: llOwnerSay(string msg) | ||
563 | void llOwnerSay(string msg); | ||
564 | //wiki: key llRequestSimulatorData(string simulator, integer data) | ||
565 | void llRequestSimulatorData(string simulator, int data); | ||
566 | //wiki: llForceMouselook(integer mouselook) | ||
567 | void llForceMouselook(int mouselook); | ||
568 | //wiki: double llGetObjectMass(key id) | ||
569 | double llGetObjectMass(string id); | ||
570 | void llListReplaceList(); | ||
571 | //wiki: llLoadURL(key avatar_id, string message, string url) | ||
572 | void llLoadURL(string avatar_id, string message, string url); | ||
573 | //wiki: llParcelMediaCommandList(list commandList) | ||
574 | void llParcelMediaCommandList(List<string> commandList); | ||
575 | void llParcelMediaQuery(); | ||
576 | //wiki integer llModPow(integer a, integer b, integer c) | ||
577 | int llModPow(int a, int b, int c); | ||
578 | //wiki: integer llGetInventoryType(string name) | ||
579 | int llGetInventoryType(string name); | ||
580 | //wiki: llSetPayPrice(integer price, list quick_pay_buttons) | ||
581 | void llSetPayPrice(int price, List<string> quick_pay_buttons); | ||
582 | //wiki: vector llGetCameraPos() | ||
583 | LSL_Types.Vector3 llGetCameraPos(); | ||
584 | //wiki rotation llGetCameraRot() | ||
585 | LSL_Types.Quaternion llGetCameraRot(); | ||
586 | //wiki: (deprecated) | ||
587 | void llSetPrimURL(); | ||
588 | //wiki: (deprecated) | ||
589 | void llRefreshPrimURL(); | ||
590 | //wiki: string llEscapeURL(string url) | ||
591 | string llEscapeURL(string url); | ||
592 | //wiki: string llUnescapeURL(string url) | ||
593 | string llUnescapeURL(string url); | ||
594 | //wiki: llMapDestination(string simname, vector pos, vector look_at) | ||
595 | void llMapDestination(string simname, LSL_Types.Vector3 pos, LSL_Types.Vector3 look_at); | ||
596 | //wiki: llAddToLandBanList(key avatar, double hours) | ||
597 | void llAddToLandBanList(string avatar, double hours); | ||
598 | //wiki: llRemoveFromLandPassList(key avatar) | ||
599 | void llRemoveFromLandPassList(string avatar); | ||
600 | //wiki: llRemoveFromLandBanList(key avatar) | ||
601 | void llRemoveFromLandBanList(string avatar); | ||
602 | //wiki: llSetCameraParams(list rules) | ||
603 | void llSetCameraParams(List<string> rules); | ||
604 | //wiki: llClearCameraParams() | ||
605 | void llClearCameraParams(); | ||
606 | //wiki: double llListStatistics(integer operation, list src) | ||
607 | double llListStatistics(int operation, List<string> src); | ||
608 | //wiki: integer llGetUnixTime() | ||
609 | int llGetUnixTime(); | ||
610 | //wiki: integer llGetParcelFlags(vector pos) | ||
611 | int llGetParcelFlags(LSL_Types.Vector3 pos); | ||
612 | //wiki: integer llGetRegionFlags() | ||
613 | int llGetRegionFlags(); | ||
614 | //wiki: string llXorBase64StringsCorrect(string str1, string str2) | ||
615 | string llXorBase64StringsCorrect(string str1, string str2); | ||
616 | void llHTTPRequest(string url, List<string> parameters, string body); | ||
617 | //wiki: llResetLandBanList() | ||
618 | void llResetLandBanList(); | ||
619 | //wiki: llResetLandPassList() | ||
620 | void llResetLandPassList(); | ||
621 | //wiki integer llGetParcelPrimCount(vector pos, integer category, integer sim_wide) | ||
622 | int llGetParcelPrimCount(LSL_Types.Vector3 pos, int category, int sim_wide); | ||
623 | //wiki: list llGetParcelPrimOwners(vector pos) | ||
624 | List<string> llGetParcelPrimOwners(LSL_Types.Vector3 pos); | ||
625 | //wiki: integer llGetObjectPrimCount(key object_id) | ||
626 | int llGetObjectPrimCount(string object_id); | ||
627 | //wiki: integer llGetParcelMaxPrims(vector pos, integer sim_wide) | ||
628 | int llGetParcelMaxPrims(LSL_Types.Vector3 pos, int sim_wide); | ||
629 | //wiki list llGetParcelDetails(vector pos, list params) | ||
630 | List<string> llGetParcelDetails(LSL_Types.Vector3 pos, List<string> param); | ||
631 | |||
632 | //OpenSim functions | ||
633 | string osSetDynamicTextureURL(string dynamicID, string contentType, string url, string extraParams, int timer); | ||
634 | } | ||
635 | } | ||
diff --git a/OpenSim/Grid/ScriptEngine/Common/LSL_Types.cs b/OpenSim/Grid/ScriptEngine/Common/LSL_Types.cs deleted file mode 100644 index ef46cba..0000000 --- a/OpenSim/Grid/ScriptEngine/Common/LSL_Types.cs +++ /dev/null | |||
@@ -1,82 +0,0 @@ | |||
1 | /* | ||
2 | * Copyright (c) Contributors, http://opensimulator.org/ | ||
3 | * See CONTRIBUTORS.TXT for a full list of copyright holders. | ||
4 | * | ||
5 | * Redistribution and use in source and binary forms, with or without | ||
6 | * modification, are permitted provided that the following conditions are met: | ||
7 | * * Redistributions of source code must retain the above copyright | ||
8 | * notice, this list of conditions and the following disclaimer. | ||
9 | * * Redistributions in binary form must reproduce the above copyright | ||
10 | * notice, this list of conditions and the following disclaimer in the | ||
11 | * documentation and/or other materials provided with the distribution. | ||
12 | * * Neither the name of the OpenSim Project nor the | ||
13 | * names of its contributors may be used to endorse or promote products | ||
14 | * derived from this software without specific prior written permission. | ||
15 | * | ||
16 | * THIS SOFTWARE IS PROVIDED BY THE DEVELOPERS ``AS IS'' AND ANY | ||
17 | * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED | ||
18 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE | ||
19 | * DISCLAIMED. IN NO EVENT SHALL THE CONTRIBUTORS BE LIABLE FOR ANY | ||
20 | * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES | ||
21 | * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; | ||
22 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND | ||
23 | * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
24 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS | ||
25 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
26 | */ | ||
27 | |||
28 | using System; | ||
29 | |||
30 | namespace OpenSim.Grid.ScriptEngine.Common | ||
31 | { | ||
32 | [Serializable] | ||
33 | public class LSL_Types | ||
34 | { | ||
35 | [Serializable] | ||
36 | public struct Vector3 | ||
37 | { | ||
38 | public double X; | ||
39 | public double Y; | ||
40 | public double Z; | ||
41 | |||
42 | public Vector3(Vector3 vector) | ||
43 | { | ||
44 | X = (float) vector.X; | ||
45 | Y = (float) vector.Y; | ||
46 | Z = (float) vector.Z; | ||
47 | } | ||
48 | |||
49 | public Vector3(double x, double y, double z) | ||
50 | { | ||
51 | X = x; | ||
52 | Y = y; | ||
53 | Z = z; | ||
54 | } | ||
55 | } | ||
56 | |||
57 | [Serializable] | ||
58 | public struct Quaternion | ||
59 | { | ||
60 | public double X; | ||
61 | public double Y; | ||
62 | public double Z; | ||
63 | public double R; | ||
64 | |||
65 | public Quaternion(Quaternion Quat) | ||
66 | { | ||
67 | X = (float) Quat.X; | ||
68 | Y = (float) Quat.Y; | ||
69 | Z = (float) Quat.Z; | ||
70 | R = (float) Quat.R; | ||
71 | } | ||
72 | |||
73 | public Quaternion(double x, double y, double z, double r) | ||
74 | { | ||
75 | X = x; | ||
76 | Y = y; | ||
77 | Z = z; | ||
78 | R = r; | ||
79 | } | ||
80 | } | ||
81 | } | ||
82 | } | ||
diff --git a/OpenSim/Grid/ScriptEngine/Common/Properties/AssemblyInfo.cs b/OpenSim/Grid/ScriptEngine/Common/Properties/AssemblyInfo.cs deleted file mode 100644 index d18822c..0000000 --- a/OpenSim/Grid/ScriptEngine/Common/Properties/AssemblyInfo.cs +++ /dev/null | |||
@@ -1,63 +0,0 @@ | |||
1 | /* | ||
2 | * Copyright (c) Contributors, http://opensimulator.org/ | ||
3 | * See CONTRIBUTORS.TXT for a full list of copyright holders. | ||
4 | * | ||
5 | * Redistribution and use in source and binary forms, with or without | ||
6 | * modification, are permitted provided that the following conditions are met: | ||
7 | * * Redistributions of source code must retain the above copyright | ||
8 | * notice, this list of conditions and the following disclaimer. | ||
9 | * * Redistributions in binary form must reproduce the above copyright | ||
10 | * notice, this list of conditions and the following disclaimer in the | ||
11 | * documentation and/or other materials provided with the distribution. | ||
12 | * * Neither the name of the OpenSim Project nor the | ||
13 | * names of its contributors may be used to endorse or promote products | ||
14 | * derived from this software without specific prior written permission. | ||
15 | * | ||
16 | * THIS SOFTWARE IS PROVIDED BY THE DEVELOPERS ``AS IS'' AND ANY | ||
17 | * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED | ||
18 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE | ||
19 | * DISCLAIMED. IN NO EVENT SHALL THE CONTRIBUTORS BE LIABLE FOR ANY | ||
20 | * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES | ||
21 | * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; | ||
22 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND | ||
23 | * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
24 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS | ||
25 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
26 | */ | ||
27 | |||
28 | using System.Reflection; | ||
29 | using System.Runtime.InteropServices; | ||
30 | |||
31 | // General information about an assembly is controlled through the following | ||
32 | // set of attributes. Change these attribute values to modify the information | ||
33 | // associated with an assembly. | ||
34 | |||
35 | [assembly : AssemblyTitle("OpenSim.Grid.ScriptEngine.Common")] | ||
36 | [assembly : AssemblyDescription("")] | ||
37 | [assembly : AssemblyConfiguration("")] | ||
38 | [assembly : AssemblyCompany("")] | ||
39 | [assembly : AssemblyProduct("OpenSim.Grid.ScriptEngine.Common")] | ||
40 | [assembly : AssemblyCopyright("Copyright (c) 2007")] | ||
41 | [assembly : AssemblyTrademark("")] | ||
42 | [assembly : AssemblyCulture("")] | ||
43 | |||
44 | // Setting ComVisible to false makes the types in this assembly not visible | ||
45 | // to COM components. If you need to access a type in this assembly from | ||
46 | // COM, set the ComVisible attribute to true on that type. | ||
47 | |||
48 | [assembly : ComVisible(false)] | ||
49 | |||
50 | // The following GUID is for the ID of the typelib if this project is exposed to COM | ||
51 | |||
52 | [assembly : Guid("0bf07c53-ae51-487f-a907-e9b30c251602")] | ||
53 | |||
54 | // Version information for an assembly consists of the following four values: | ||
55 | // | ||
56 | // Major Version | ||
57 | // Minor Version | ||
58 | // Build Number | ||
59 | // Revision | ||
60 | // | ||
61 | |||
62 | [assembly : AssemblyVersion("1.0.0.0")] | ||
63 | [assembly : AssemblyFileVersion("1.0.0.0")] | ||