diff options
author | lbsa71 | 2007-10-30 09:05:31 +0000 |
---|---|---|
committer | lbsa71 | 2007-10-30 09:05:31 +0000 |
commit | 67e12b95ea7b68f4904a7484d77ecfd787d16d0c (patch) | |
tree | 20b00d24c8a7617017960432ec044852e3ad5fa9 /OpenSim/Grid/ScriptEngine/DotNetEngine/Compiler/LSL/LSL_BaseClass.cs | |
parent | * Deleted .user file (diff) | |
download | opensim-SC_OLD-67e12b95ea7b68f4904a7484d77ecfd787d16d0c.zip opensim-SC_OLD-67e12b95ea7b68f4904a7484d77ecfd787d16d0c.tar.gz opensim-SC_OLD-67e12b95ea7b68f4904a7484d77ecfd787d16d0c.tar.bz2 opensim-SC_OLD-67e12b95ea7b68f4904a7484d77ecfd787d16d0c.tar.xz |
* Optimized usings
* Shortened type references
* Removed redundant 'this' qualifier
Diffstat (limited to 'OpenSim/Grid/ScriptEngine/DotNetEngine/Compiler/LSL/LSL_BaseClass.cs')
-rw-r--r-- | OpenSim/Grid/ScriptEngine/DotNetEngine/Compiler/LSL/LSL_BaseClass.cs | 2007 |
1 files changed, 1658 insertions, 349 deletions
diff --git a/OpenSim/Grid/ScriptEngine/DotNetEngine/Compiler/LSL/LSL_BaseClass.cs b/OpenSim/Grid/ScriptEngine/DotNetEngine/Compiler/LSL/LSL_BaseClass.cs index a5fe7f1..1f5e6da 100644 --- a/OpenSim/Grid/ScriptEngine/DotNetEngine/Compiler/LSL/LSL_BaseClass.cs +++ b/OpenSim/Grid/ScriptEngine/DotNetEngine/Compiler/LSL/LSL_BaseClass.cs | |||
@@ -28,12 +28,9 @@ | |||
28 | 28 | ||
29 | using System; | 29 | using System; |
30 | using System.Collections.Generic; | 30 | using System.Collections.Generic; |
31 | using System.Text; | ||
32 | using OpenSim.Grid.ScriptEngine.DotNetEngine.Compiler; | ||
33 | using OpenSim.Region.ScriptEngine.Common; | ||
34 | using System.Threading; | ||
35 | using System.Reflection; | ||
36 | using System.Runtime.Remoting.Lifetime; | 31 | using System.Runtime.Remoting.Lifetime; |
32 | using System.Threading; | ||
33 | using OpenSim.Region.ScriptEngine.Common; | ||
37 | using integer = System.Int32; | 34 | using integer = System.Int32; |
38 | using key = System.String; | 35 | using key = System.String; |
39 | using vector = OpenSim.Region.ScriptEngine.Common.LSL_Types.Vector3; | 36 | using vector = OpenSim.Region.ScriptEngine.Common.LSL_Types.Vector3; |
@@ -44,13 +41,12 @@ namespace OpenSim.Grid.ScriptEngine.DotNetEngine.Compiler.LSL | |||
44 | //[Serializable] | 41 | //[Serializable] |
45 | public class LSL_BaseClass : MarshalByRefObject, LSL_BuiltIn_Commands_Interface, IScript | 42 | public class LSL_BaseClass : MarshalByRefObject, LSL_BuiltIn_Commands_Interface, IScript |
46 | { | 43 | { |
47 | |||
48 | // Object never expires | 44 | // Object never expires |
49 | public override Object InitializeLifetimeService() | 45 | public override Object InitializeLifetimeService() |
50 | { | 46 | { |
51 | //Console.WriteLine("LSL_BaseClass: InitializeLifetimeService()"); | 47 | //Console.WriteLine("LSL_BaseClass: InitializeLifetimeService()"); |
52 | // return null; | 48 | // return null; |
53 | ILease lease = (ILease)base.InitializeLifetimeService(); | 49 | ILease lease = (ILease) base.InitializeLifetimeService(); |
54 | 50 | ||
55 | if (lease.CurrentState == LeaseState.Initial) | 51 | if (lease.CurrentState == LeaseState.Initial) |
56 | { | 52 | { |
@@ -63,6 +59,7 @@ namespace OpenSim.Grid.ScriptEngine.DotNetEngine.Compiler.LSL | |||
63 | 59 | ||
64 | 60 | ||
65 | private Executor m_Exec; | 61 | private Executor m_Exec; |
62 | |||
66 | public Executor Exec | 63 | public Executor Exec |
67 | { | 64 | { |
68 | get | 65 | get |
@@ -79,6 +76,7 @@ namespace OpenSim.Grid.ScriptEngine.DotNetEngine.Compiler.LSL | |||
79 | public LSL_BaseClass() | 76 | public LSL_BaseClass() |
80 | { | 77 | { |
81 | } | 78 | } |
79 | |||
82 | public string State() | 80 | public string State() |
83 | { | 81 | { |
84 | return m_LSL_Functions.State(); | 82 | return m_LSL_Functions.State(); |
@@ -94,410 +92,1724 @@ namespace OpenSim.Grid.ScriptEngine.DotNetEngine.Compiler.LSL | |||
94 | // Get this AppDomain's settings and display some of them. | 92 | // Get this AppDomain's settings and display some of them. |
95 | AppDomainSetup ads = AppDomain.CurrentDomain.SetupInformation; | 93 | AppDomainSetup ads = AppDomain.CurrentDomain.SetupInformation; |
96 | Console.WriteLine("AppName={0}, AppBase={1}, ConfigFile={2}", | 94 | Console.WriteLine("AppName={0}, AppBase={1}, ConfigFile={2}", |
97 | ads.ApplicationName, | 95 | ads.ApplicationName, |
98 | ads.ApplicationBase, | 96 | ads.ApplicationBase, |
99 | ads.ConfigurationFile | 97 | ads.ConfigurationFile |
100 | ); | 98 | ); |
101 | 99 | ||
102 | // Display the name of the calling AppDomain and the name | 100 | // Display the name of the calling AppDomain and the name |
103 | // of the second domain. | 101 | // of the second domain. |
104 | // NOTE: The application's thread has transitioned between | 102 | // NOTE: The application's thread has transitioned between |
105 | // AppDomains. | 103 | // AppDomains. |
106 | Console.WriteLine("Calling to '{0}'.", | 104 | Console.WriteLine("Calling to '{0}'.", |
107 | Thread.GetDomain().FriendlyName | 105 | Thread.GetDomain().FriendlyName |
108 | ); | 106 | ); |
109 | 107 | ||
110 | return; | 108 | return; |
111 | } | 109 | } |
112 | 110 | ||
113 | 111 | ||
114 | |||
115 | // | 112 | // |
116 | // DO NOT MODIFY HERE: MODIFY IN LSL_BuiltIn_Commands.cs | 113 | // DO NOT MODIFY HERE: MODIFY IN LSL_BuiltIn_Commands.cs |
117 | // | 114 | // |
118 | // They are only forwarders to LSL_BuiltIn_Commands.cs | 115 | // They are only forwarders to LSL_BuiltIn_Commands.cs |
119 | // | 116 | // |
120 | public double llSin(double f) { return m_LSL_Functions.llSin(f); } | 117 | public double llSin(double f) |
121 | public double llCos(double f) { return m_LSL_Functions.llCos(f); } | 118 | { |
122 | public double llTan(double f) { return m_LSL_Functions.llTan(f); } | 119 | return m_LSL_Functions.llSin(f); |
123 | public double llAtan2(double x, double y) { return m_LSL_Functions.llAtan2(x, y); } | 120 | } |
124 | public double llSqrt(double f) { return m_LSL_Functions.llSqrt(f); } | 121 | |
125 | public double llPow(double fbase, double fexponent) { return m_LSL_Functions.llPow(fbase, fexponent); } | 122 | public double llCos(double f) |
126 | public int llAbs(int i) { return m_LSL_Functions.llAbs(i); } | 123 | { |
127 | public double llFabs(double f) { return m_LSL_Functions.llFabs(f); } | 124 | return m_LSL_Functions.llCos(f); |
128 | public double llFrand(double mag) { return m_LSL_Functions.llFrand(mag); } | 125 | } |
129 | public int llFloor(double f) { return m_LSL_Functions.llFloor(f); } | 126 | |
130 | public int llCeil(double f) { return m_LSL_Functions.llCeil(f); } | 127 | public double llTan(double f) |
131 | public int llRound(double f) { return m_LSL_Functions.llRound(f); } | 128 | { |
132 | public double llVecMag(LSL_Types.Vector3 v) { return m_LSL_Functions.llVecMag(v); } | 129 | return m_LSL_Functions.llTan(f); |
133 | public LSL_Types.Vector3 llVecNorm(LSL_Types.Vector3 v) { return m_LSL_Functions.llVecNorm(v); } | 130 | } |
134 | public double llVecDist(LSL_Types.Vector3 a, LSL_Types.Vector3 b) { return m_LSL_Functions.llVecDist(a, b); } | 131 | |
135 | public LSL_Types.Vector3 llRot2Euler(LSL_Types.Quaternion r) { return m_LSL_Functions.llRot2Euler(r); } | 132 | public double llAtan2(double x, double y) |
136 | public LSL_Types.Quaternion llEuler2Rot(LSL_Types.Vector3 v) { return m_LSL_Functions.llEuler2Rot(v); } | 133 | { |
137 | public LSL_Types.Quaternion llAxes2Rot(LSL_Types.Vector3 fwd, LSL_Types.Vector3 left, LSL_Types.Vector3 up) { return m_LSL_Functions.llAxes2Rot(fwd, left, up); } | 134 | return m_LSL_Functions.llAtan2(x, y); |
138 | public LSL_Types.Vector3 llRot2Fwd(LSL_Types.Quaternion r) { return m_LSL_Functions.llRot2Fwd(r); } | 135 | } |
139 | public LSL_Types.Vector3 llRot2Left(LSL_Types.Quaternion r) { return m_LSL_Functions.llRot2Left(r); } | 136 | |
140 | public LSL_Types.Vector3 llRot2Up(LSL_Types.Quaternion r) { return m_LSL_Functions.llRot2Up(r); } | 137 | public double llSqrt(double f) |
141 | public LSL_Types.Quaternion llRotBetween(LSL_Types.Vector3 start, LSL_Types.Vector3 end) { return m_LSL_Functions.llRotBetween(start, end); } | 138 | { |
142 | public void llWhisper(int channelID, string text) { m_LSL_Functions.llWhisper(channelID, text); } | 139 | return m_LSL_Functions.llSqrt(f); |
143 | public void llSay(int channelID, string text) { m_LSL_Functions.llSay(channelID, text); } | 140 | } |
141 | |||
142 | public double llPow(double fbase, double fexponent) | ||
143 | { | ||
144 | return m_LSL_Functions.llPow(fbase, fexponent); | ||
145 | } | ||
146 | |||
147 | public int llAbs(int i) | ||
148 | { | ||
149 | return m_LSL_Functions.llAbs(i); | ||
150 | } | ||
151 | |||
152 | public double llFabs(double f) | ||
153 | { | ||
154 | return m_LSL_Functions.llFabs(f); | ||
155 | } | ||
156 | |||
157 | public double llFrand(double mag) | ||
158 | { | ||
159 | return m_LSL_Functions.llFrand(mag); | ||
160 | } | ||
161 | |||
162 | public int llFloor(double f) | ||
163 | { | ||
164 | return m_LSL_Functions.llFloor(f); | ||
165 | } | ||
166 | |||
167 | public int llCeil(double f) | ||
168 | { | ||
169 | return m_LSL_Functions.llCeil(f); | ||
170 | } | ||
171 | |||
172 | public int llRound(double f) | ||
173 | { | ||
174 | return m_LSL_Functions.llRound(f); | ||
175 | } | ||
176 | |||
177 | public double llVecMag(vector v) | ||
178 | { | ||
179 | return m_LSL_Functions.llVecMag(v); | ||
180 | } | ||
181 | |||
182 | public vector llVecNorm(vector v) | ||
183 | { | ||
184 | return m_LSL_Functions.llVecNorm(v); | ||
185 | } | ||
186 | |||
187 | public double llVecDist(vector a, vector b) | ||
188 | { | ||
189 | return m_LSL_Functions.llVecDist(a, b); | ||
190 | } | ||
191 | |||
192 | public vector llRot2Euler(rotation r) | ||
193 | { | ||
194 | return m_LSL_Functions.llRot2Euler(r); | ||
195 | } | ||
196 | |||
197 | public rotation llEuler2Rot(vector v) | ||
198 | { | ||
199 | return m_LSL_Functions.llEuler2Rot(v); | ||
200 | } | ||
201 | |||
202 | public rotation llAxes2Rot(vector fwd, vector left, vector up) | ||
203 | { | ||
204 | return m_LSL_Functions.llAxes2Rot(fwd, left, up); | ||
205 | } | ||
206 | |||
207 | public vector llRot2Fwd(rotation r) | ||
208 | { | ||
209 | return m_LSL_Functions.llRot2Fwd(r); | ||
210 | } | ||
211 | |||
212 | public vector llRot2Left(rotation r) | ||
213 | { | ||
214 | return m_LSL_Functions.llRot2Left(r); | ||
215 | } | ||
216 | |||
217 | public vector llRot2Up(rotation r) | ||
218 | { | ||
219 | return m_LSL_Functions.llRot2Up(r); | ||
220 | } | ||
221 | |||
222 | public rotation llRotBetween(vector start, vector end) | ||
223 | { | ||
224 | return m_LSL_Functions.llRotBetween(start, end); | ||
225 | } | ||
226 | |||
227 | public void llWhisper(int channelID, string text) | ||
228 | { | ||
229 | m_LSL_Functions.llWhisper(channelID, text); | ||
230 | } | ||
231 | |||
232 | public void llSay(int channelID, string text) | ||
233 | { | ||
234 | m_LSL_Functions.llSay(channelID, text); | ||
235 | } | ||
236 | |||
144 | // | 237 | // |
145 | // DO NOT MODIFY HERE: MODIFY IN LSL_BuiltIn_Commands.cs | 238 | // DO NOT MODIFY HERE: MODIFY IN LSL_BuiltIn_Commands.cs |
146 | // | 239 | // |
147 | public void llShout(int channelID, string text) { m_LSL_Functions.llShout(channelID, text); } | 240 | public void llShout(int channelID, string text) |
148 | public int llListen(int channelID, string name, string ID, string msg) { return m_LSL_Functions.llListen(channelID, name, ID, msg); } | 241 | { |
149 | public void llListenControl(int number, int active) { m_LSL_Functions.llListenControl(number, active); } | 242 | m_LSL_Functions.llShout(channelID, text); |
150 | public void llListenRemove(int number) { m_LSL_Functions.llListenRemove(number); } | 243 | } |
151 | public void llSensor(string name, string id, int type, double range, double arc) { m_LSL_Functions.llSensor(name, id, type, range, arc); } | 244 | |
152 | public void llSensorRepeat(string name, string id, int type, double range, double arc, double rate) { m_LSL_Functions.llSensorRepeat(name, id, type, range, arc, rate); } | 245 | public int llListen(int channelID, string name, string ID, string msg) |
153 | public void llSensorRemove() { m_LSL_Functions.llSensorRemove(); } | 246 | { |
154 | public string llDetectedName(int number) { return m_LSL_Functions.llDetectedName(number); } | 247 | return m_LSL_Functions.llListen(channelID, name, ID, msg); |
155 | public string llDetectedKey(int number) { return m_LSL_Functions.llDetectedKey(number); } | 248 | } |
156 | public string llDetectedOwner(int number) { return m_LSL_Functions.llDetectedOwner(number); } | 249 | |
157 | public int llDetectedType(int number) { return m_LSL_Functions.llDetectedType(number); } | 250 | public void llListenControl(int number, int active) |
158 | public LSL_Types.Vector3 llDetectedPos(int number) { return m_LSL_Functions.llDetectedPos(number); } | 251 | { |
159 | public LSL_Types.Vector3 llDetectedVel(int number) { return m_LSL_Functions.llDetectedVel(number); } | 252 | m_LSL_Functions.llListenControl(number, active); |
160 | public LSL_Types.Vector3 llDetectedGrab(int number) { return m_LSL_Functions.llDetectedGrab(number); } | 253 | } |
161 | public LSL_Types.Quaternion llDetectedRot(int number) { return m_LSL_Functions.llDetectedRot(number); } | 254 | |
162 | public int llDetectedGroup(int number) { return m_LSL_Functions.llDetectedGroup(number); } | 255 | public void llListenRemove(int number) |
163 | public int llDetectedLinkNumber(int number) { return m_LSL_Functions.llDetectedLinkNumber(number); } | 256 | { |
257 | m_LSL_Functions.llListenRemove(number); | ||
258 | } | ||
259 | |||
260 | public void llSensor(string name, string id, int type, double range, double arc) | ||
261 | { | ||
262 | m_LSL_Functions.llSensor(name, id, type, range, arc); | ||
263 | } | ||
264 | |||
265 | public void llSensorRepeat(string name, string id, int type, double range, double arc, double rate) | ||
266 | { | ||
267 | m_LSL_Functions.llSensorRepeat(name, id, type, range, arc, rate); | ||
268 | } | ||
269 | |||
270 | public void llSensorRemove() | ||
271 | { | ||
272 | m_LSL_Functions.llSensorRemove(); | ||
273 | } | ||
274 | |||
275 | public string llDetectedName(int number) | ||
276 | { | ||
277 | return m_LSL_Functions.llDetectedName(number); | ||
278 | } | ||
279 | |||
280 | public string llDetectedKey(int number) | ||
281 | { | ||
282 | return m_LSL_Functions.llDetectedKey(number); | ||
283 | } | ||
284 | |||
285 | public string llDetectedOwner(int number) | ||
286 | { | ||
287 | return m_LSL_Functions.llDetectedOwner(number); | ||
288 | } | ||
289 | |||
290 | public int llDetectedType(int number) | ||
291 | { | ||
292 | return m_LSL_Functions.llDetectedType(number); | ||
293 | } | ||
294 | |||
295 | public vector llDetectedPos(int number) | ||
296 | { | ||
297 | return m_LSL_Functions.llDetectedPos(number); | ||
298 | } | ||
299 | |||
300 | public vector llDetectedVel(int number) | ||
301 | { | ||
302 | return m_LSL_Functions.llDetectedVel(number); | ||
303 | } | ||
304 | |||
305 | public vector llDetectedGrab(int number) | ||
306 | { | ||
307 | return m_LSL_Functions.llDetectedGrab(number); | ||
308 | } | ||
309 | |||
310 | public rotation llDetectedRot(int number) | ||
311 | { | ||
312 | return m_LSL_Functions.llDetectedRot(number); | ||
313 | } | ||
314 | |||
315 | public int llDetectedGroup(int number) | ||
316 | { | ||
317 | return m_LSL_Functions.llDetectedGroup(number); | ||
318 | } | ||
319 | |||
320 | public int llDetectedLinkNumber(int number) | ||
321 | { | ||
322 | return m_LSL_Functions.llDetectedLinkNumber(number); | ||
323 | } | ||
324 | |||
164 | // | 325 | // |
165 | // DO NOT MODIFY HERE: MODIFY IN LSL_BuiltIn_Commands.cs | 326 | // DO NOT MODIFY HERE: MODIFY IN LSL_BuiltIn_Commands.cs |
166 | // | 327 | // |
167 | public void llDie() { m_LSL_Functions.llDie(); } | 328 | public void llDie() |
168 | public double llGround(LSL_Types.Vector3 offset) { return m_LSL_Functions.llGround(offset); } | 329 | { |
169 | public double llCloud(LSL_Types.Vector3 offset) { return m_LSL_Functions.llCloud(offset); } | 330 | m_LSL_Functions.llDie(); |
170 | public LSL_Types.Vector3 llWind(LSL_Types.Vector3 offset) { return m_LSL_Functions.llWind(offset); } | 331 | } |
171 | public void llSetStatus(int status, int value) { m_LSL_Functions.llSetStatus(status, value); } | 332 | |
172 | public int llGetStatus(int status) { return m_LSL_Functions.llGetStatus(status); } | 333 | public double llGround(vector offset) |
173 | public void llSetScale(LSL_Types.Vector3 scale) { m_LSL_Functions.llSetScale(scale); } | 334 | { |
174 | public LSL_Types.Vector3 llGetScale() { return m_LSL_Functions.llGetScale(); } | 335 | return m_LSL_Functions.llGround(offset); |
175 | public void llSetColor(LSL_Types.Vector3 color, int face) { m_LSL_Functions.llSetColor(color, face); } | 336 | } |
176 | public double llGetAlpha(int face) { return m_LSL_Functions.llGetAlpha(face); } | 337 | |
177 | public void llSetAlpha(double alpha, int face) { m_LSL_Functions.llSetAlpha(alpha, face); } | 338 | public double llCloud(vector offset) |
178 | public LSL_Types.Vector3 llGetColor(int face) { return m_LSL_Functions.llGetColor(face); } | 339 | { |
179 | public void llSetTexture(string texture, int face) { m_LSL_Functions.llSetTexture(texture, face); } | 340 | return m_LSL_Functions.llCloud(offset); |
180 | public void llScaleTexture(double u, double v, int face) { m_LSL_Functions.llScaleTexture(u, v, face); } | 341 | } |
181 | public void llOffsetTexture(double u, double v, int face) { m_LSL_Functions.llOffsetTexture(u, v, face); } | 342 | |
182 | public void llRotateTexture(double rotation, int face) { m_LSL_Functions.llRotateTexture(rotation, face); } | 343 | public vector llWind(vector offset) |
183 | public string llGetTexture(int face) { return m_LSL_Functions.llGetTexture(face); } | 344 | { |
345 | return m_LSL_Functions.llWind(offset); | ||
346 | } | ||
347 | |||
348 | public void llSetStatus(int status, int value) | ||
349 | { | ||
350 | m_LSL_Functions.llSetStatus(status, value); | ||
351 | } | ||
352 | |||
353 | public int llGetStatus(int status) | ||
354 | { | ||
355 | return m_LSL_Functions.llGetStatus(status); | ||
356 | } | ||
357 | |||
358 | public void llSetScale(vector scale) | ||
359 | { | ||
360 | m_LSL_Functions.llSetScale(scale); | ||
361 | } | ||
362 | |||
363 | public vector llGetScale() | ||
364 | { | ||
365 | return m_LSL_Functions.llGetScale(); | ||
366 | } | ||
367 | |||
368 | public void llSetColor(vector color, int face) | ||
369 | { | ||
370 | m_LSL_Functions.llSetColor(color, face); | ||
371 | } | ||
372 | |||
373 | public double llGetAlpha(int face) | ||
374 | { | ||
375 | return m_LSL_Functions.llGetAlpha(face); | ||
376 | } | ||
377 | |||
378 | public void llSetAlpha(double alpha, int face) | ||
379 | { | ||
380 | m_LSL_Functions.llSetAlpha(alpha, face); | ||
381 | } | ||
382 | |||
383 | public vector llGetColor(int face) | ||
384 | { | ||
385 | return m_LSL_Functions.llGetColor(face); | ||
386 | } | ||
387 | |||
388 | public void llSetTexture(string texture, int face) | ||
389 | { | ||
390 | m_LSL_Functions.llSetTexture(texture, face); | ||
391 | } | ||
392 | |||
393 | public void llScaleTexture(double u, double v, int face) | ||
394 | { | ||
395 | m_LSL_Functions.llScaleTexture(u, v, face); | ||
396 | } | ||
397 | |||
398 | public void llOffsetTexture(double u, double v, int face) | ||
399 | { | ||
400 | m_LSL_Functions.llOffsetTexture(u, v, face); | ||
401 | } | ||
402 | |||
403 | public void llRotateTexture(double rotation, int face) | ||
404 | { | ||
405 | m_LSL_Functions.llRotateTexture(rotation, face); | ||
406 | } | ||
407 | |||
408 | public string llGetTexture(int face) | ||
409 | { | ||
410 | return m_LSL_Functions.llGetTexture(face); | ||
411 | } | ||
412 | |||
184 | // | 413 | // |
185 | // DO NOT MODIFY HERE: MODIFY IN LSL_BuiltIn_Commands.cs | 414 | // DO NOT MODIFY HERE: MODIFY IN LSL_BuiltIn_Commands.cs |
186 | // | 415 | // |
187 | public void llSetPos(LSL_Types.Vector3 pos) { m_LSL_Functions.llSetPos(pos); } | 416 | public void llSetPos(vector pos) |
188 | public LSL_Types.Vector3 llGetPos() { return m_LSL_Functions.llGetPos(); } | 417 | { |
189 | public LSL_Types.Vector3 llGetLocalPos() { return m_LSL_Functions.llGetLocalPos(); } | 418 | m_LSL_Functions.llSetPos(pos); |
190 | public void llSetRot(LSL_Types.Quaternion rot) { m_LSL_Functions.llSetRot(rot); } | 419 | } |
191 | public LSL_Types.Quaternion llGetRot() { return m_LSL_Functions.llGetRot(); } | 420 | |
192 | public LSL_Types.Quaternion llGetLocalRot() { return m_LSL_Functions.llGetLocalRot(); } | 421 | public vector llGetPos() |
193 | public void llSetForce(LSL_Types.Vector3 force, int local) { m_LSL_Functions.llSetForce(force, local); } | 422 | { |
194 | public LSL_Types.Vector3 llGetForce() { return m_LSL_Functions.llGetForce(); } | 423 | return m_LSL_Functions.llGetPos(); |
195 | public int llTarget(LSL_Types.Vector3 position, double range) { return m_LSL_Functions.llTarget(position, range); } | 424 | } |
196 | public void llTargetRemove(int number) { m_LSL_Functions.llTargetRemove(number); } | 425 | |
197 | public int llRotTarget(LSL_Types.Quaternion rot, double error) { return m_LSL_Functions.llRotTarget(rot, error); } | 426 | public vector llGetLocalPos() |
198 | public void llRotTargetRemove(int number) { m_LSL_Functions.llRotTargetRemove(number); } | 427 | { |
199 | public void llMoveToTarget(LSL_Types.Vector3 target, double tau) { m_LSL_Functions.llMoveToTarget(target, tau); } | 428 | return m_LSL_Functions.llGetLocalPos(); |
200 | public void llStopMoveToTarget() { m_LSL_Functions.llStopMoveToTarget(); } | 429 | } |
201 | public void llApplyImpulse(LSL_Types.Vector3 force, int local) { m_LSL_Functions.llApplyImpulse(force, local); } | 430 | |
431 | public void llSetRot(rotation rot) | ||
432 | { | ||
433 | m_LSL_Functions.llSetRot(rot); | ||
434 | } | ||
435 | |||
436 | public rotation llGetRot() | ||
437 | { | ||
438 | return m_LSL_Functions.llGetRot(); | ||
439 | } | ||
440 | |||
441 | public rotation llGetLocalRot() | ||
442 | { | ||
443 | return m_LSL_Functions.llGetLocalRot(); | ||
444 | } | ||
445 | |||
446 | public void llSetForce(vector force, int local) | ||
447 | { | ||
448 | m_LSL_Functions.llSetForce(force, local); | ||
449 | } | ||
450 | |||
451 | public vector llGetForce() | ||
452 | { | ||
453 | return m_LSL_Functions.llGetForce(); | ||
454 | } | ||
455 | |||
456 | public int llTarget(vector position, double range) | ||
457 | { | ||
458 | return m_LSL_Functions.llTarget(position, range); | ||
459 | } | ||
460 | |||
461 | public void llTargetRemove(int number) | ||
462 | { | ||
463 | m_LSL_Functions.llTargetRemove(number); | ||
464 | } | ||
465 | |||
466 | public int llRotTarget(rotation rot, double error) | ||
467 | { | ||
468 | return m_LSL_Functions.llRotTarget(rot, error); | ||
469 | } | ||
470 | |||
471 | public void llRotTargetRemove(int number) | ||
472 | { | ||
473 | m_LSL_Functions.llRotTargetRemove(number); | ||
474 | } | ||
475 | |||
476 | public void llMoveToTarget(vector target, double tau) | ||
477 | { | ||
478 | m_LSL_Functions.llMoveToTarget(target, tau); | ||
479 | } | ||
480 | |||
481 | public void llStopMoveToTarget() | ||
482 | { | ||
483 | m_LSL_Functions.llStopMoveToTarget(); | ||
484 | } | ||
485 | |||
486 | public void llApplyImpulse(vector force, int local) | ||
487 | { | ||
488 | m_LSL_Functions.llApplyImpulse(force, local); | ||
489 | } | ||
490 | |||
202 | // | 491 | // |
203 | // DO NOT MODIFY HERE: MODIFY IN LSL_BuiltIn_Commands.cs | 492 | // DO NOT MODIFY HERE: MODIFY IN LSL_BuiltIn_Commands.cs |
204 | // | 493 | // |
205 | public void llApplyRotationalImpulse(LSL_Types.Vector3 force, int local) { m_LSL_Functions.llApplyRotationalImpulse(force, local); } | 494 | public void llApplyRotationalImpulse(vector force, int local) |
206 | public void llSetTorque(LSL_Types.Vector3 torque, int local) { m_LSL_Functions.llSetTorque(torque, local); } | 495 | { |
207 | public LSL_Types.Vector3 llGetTorque() { return m_LSL_Functions.llGetTorque(); } | 496 | m_LSL_Functions.llApplyRotationalImpulse(force, local); |
208 | public void llSetForceAndTorque(LSL_Types.Vector3 force, LSL_Types.Vector3 torque, int local) { m_LSL_Functions.llSetForceAndTorque(force, torque, local); } | 497 | } |
209 | public LSL_Types.Vector3 llGetVel() { return m_LSL_Functions.llGetVel(); } | 498 | |
210 | public LSL_Types.Vector3 llGetAccel() { return m_LSL_Functions.llGetAccel(); } | 499 | public void llSetTorque(vector torque, int local) |
211 | public LSL_Types.Vector3 llGetOmega() { return m_LSL_Functions.llGetOmega(); } | 500 | { |
212 | public double llGetTimeOfDay() { return m_LSL_Functions.llGetTimeOfDay(); } | 501 | m_LSL_Functions.llSetTorque(torque, local); |
213 | public double llGetWallclock() { return m_LSL_Functions.llGetWallclock(); } | 502 | } |
214 | public double llGetTime() { return m_LSL_Functions.llGetTime(); } | 503 | |
215 | public void llResetTime() { m_LSL_Functions.llResetTime(); } | 504 | public vector llGetTorque() |
216 | public double llGetAndResetTime() { return m_LSL_Functions.llGetAndResetTime(); } | 505 | { |
217 | public void llSound() { m_LSL_Functions.llSound(); } | 506 | return m_LSL_Functions.llGetTorque(); |
218 | public void llPlaySound(string sound, double volume) { m_LSL_Functions.llPlaySound(sound, volume); } | 507 | } |
219 | public void llLoopSound(string sound, double volume) { m_LSL_Functions.llLoopSound(sound, volume); } | 508 | |
220 | public void llLoopSoundMaster(string sound, double volume) { m_LSL_Functions.llLoopSoundMaster(sound, volume); } | 509 | public void llSetForceAndTorque(vector force, vector torque, int local) |
221 | public void llLoopSoundSlave(string sound, double volume) { m_LSL_Functions.llLoopSoundSlave(sound, volume); } | 510 | { |
222 | public void llPlaySoundSlave(string sound, double volume) { m_LSL_Functions.llPlaySoundSlave(sound, volume); } | 511 | m_LSL_Functions.llSetForceAndTorque(force, torque, local); |
512 | } | ||
513 | |||
514 | public vector llGetVel() | ||
515 | { | ||
516 | return m_LSL_Functions.llGetVel(); | ||
517 | } | ||
518 | |||
519 | public vector llGetAccel() | ||
520 | { | ||
521 | return m_LSL_Functions.llGetAccel(); | ||
522 | } | ||
523 | |||
524 | public vector llGetOmega() | ||
525 | { | ||
526 | return m_LSL_Functions.llGetOmega(); | ||
527 | } | ||
528 | |||
529 | public double llGetTimeOfDay() | ||
530 | { | ||
531 | return m_LSL_Functions.llGetTimeOfDay(); | ||
532 | } | ||
533 | |||
534 | public double llGetWallclock() | ||
535 | { | ||
536 | return m_LSL_Functions.llGetWallclock(); | ||
537 | } | ||
538 | |||
539 | public double llGetTime() | ||
540 | { | ||
541 | return m_LSL_Functions.llGetTime(); | ||
542 | } | ||
543 | |||
544 | public void llResetTime() | ||
545 | { | ||
546 | m_LSL_Functions.llResetTime(); | ||
547 | } | ||
548 | |||
549 | public double llGetAndResetTime() | ||
550 | { | ||
551 | return m_LSL_Functions.llGetAndResetTime(); | ||
552 | } | ||
553 | |||
554 | public void llSound() | ||
555 | { | ||
556 | m_LSL_Functions.llSound(); | ||
557 | } | ||
558 | |||
559 | public void llPlaySound(string sound, double volume) | ||
560 | { | ||
561 | m_LSL_Functions.llPlaySound(sound, volume); | ||
562 | } | ||
563 | |||
564 | public void llLoopSound(string sound, double volume) | ||
565 | { | ||
566 | m_LSL_Functions.llLoopSound(sound, volume); | ||
567 | } | ||
568 | |||
569 | public void llLoopSoundMaster(string sound, double volume) | ||
570 | { | ||
571 | m_LSL_Functions.llLoopSoundMaster(sound, volume); | ||
572 | } | ||
573 | |||
574 | public void llLoopSoundSlave(string sound, double volume) | ||
575 | { | ||
576 | m_LSL_Functions.llLoopSoundSlave(sound, volume); | ||
577 | } | ||
578 | |||
579 | public void llPlaySoundSlave(string sound, double volume) | ||
580 | { | ||
581 | m_LSL_Functions.llPlaySoundSlave(sound, volume); | ||
582 | } | ||
583 | |||
223 | // | 584 | // |
224 | // DO NOT MODIFY HERE: MODIFY IN LSL_BuiltIn_Commands.cs | 585 | // DO NOT MODIFY HERE: MODIFY IN LSL_BuiltIn_Commands.cs |
225 | // | 586 | // |
226 | public void llTriggerSound(string sound, double volume) { m_LSL_Functions.llTriggerSound(sound, volume); } | 587 | public void llTriggerSound(string sound, double volume) |
227 | public void llStopSound() { m_LSL_Functions.llStopSound(); } | 588 | { |
228 | public void llPreloadSound(string sound) { m_LSL_Functions.llPreloadSound(sound); } | 589 | m_LSL_Functions.llTriggerSound(sound, volume); |
229 | public string llGetSubString(string src, int start, int end) { return m_LSL_Functions.llGetSubString(src, start, end); } | 590 | } |
230 | public string llDeleteSubString(string src, int start, int end) { return m_LSL_Functions.llDeleteSubString(src, start, end); } | 591 | |
231 | public string llInsertString(string dst, int position, string src) { return m_LSL_Functions.llInsertString(dst, position, src); } | 592 | public void llStopSound() |
232 | public string llToUpper(string source) { return m_LSL_Functions.llToUpper(source); } | 593 | { |
233 | public string llToLower(string source) { return m_LSL_Functions.llToLower(source); } | 594 | m_LSL_Functions.llStopSound(); |
234 | public int llGiveMoney(string destination, int amount) { return m_LSL_Functions.llGiveMoney(destination, amount); } | 595 | } |
235 | public void llMakeExplosion() { m_LSL_Functions.llMakeExplosion(); } | 596 | |
236 | public void llMakeFountain() { m_LSL_Functions.llMakeFountain(); } | 597 | public void llPreloadSound(string sound) |
237 | public void llMakeSmoke() { m_LSL_Functions.llMakeSmoke(); } | 598 | { |
238 | public void llMakeFire() { m_LSL_Functions.llMakeFire(); } | 599 | m_LSL_Functions.llPreloadSound(sound); |
239 | public void llRezObject(string inventory, LSL_Types.Vector3 pos, LSL_Types.Quaternion rot, int param) { m_LSL_Functions.llRezObject(inventory, pos, rot, param); } | 600 | } |
240 | public void llLookAt(LSL_Types.Vector3 target, double strength, double damping) { m_LSL_Functions.llLookAt(target, strength, damping); } | 601 | |
241 | public void llStopLookAt() { m_LSL_Functions.llStopLookAt(); } | 602 | public string llGetSubString(string src, int start, int end) |
242 | public void llSetTimerEvent(double sec) { m_LSL_Functions.llSetTimerEvent(sec); } | 603 | { |
243 | public void llSleep(double sec) { m_LSL_Functions.llSleep(sec); } | 604 | return m_LSL_Functions.llGetSubString(src, start, end); |
605 | } | ||
606 | |||
607 | public string llDeleteSubString(string src, int start, int end) | ||
608 | { | ||
609 | return m_LSL_Functions.llDeleteSubString(src, start, end); | ||
610 | } | ||
611 | |||
612 | public string llInsertString(string dst, int position, string src) | ||
613 | { | ||
614 | return m_LSL_Functions.llInsertString(dst, position, src); | ||
615 | } | ||
616 | |||
617 | public string llToUpper(string source) | ||
618 | { | ||
619 | return m_LSL_Functions.llToUpper(source); | ||
620 | } | ||
621 | |||
622 | public string llToLower(string source) | ||
623 | { | ||
624 | return m_LSL_Functions.llToLower(source); | ||
625 | } | ||
626 | |||
627 | public int llGiveMoney(string destination, int amount) | ||
628 | { | ||
629 | return m_LSL_Functions.llGiveMoney(destination, amount); | ||
630 | } | ||
631 | |||
632 | public void llMakeExplosion() | ||
633 | { | ||
634 | m_LSL_Functions.llMakeExplosion(); | ||
635 | } | ||
636 | |||
637 | public void llMakeFountain() | ||
638 | { | ||
639 | m_LSL_Functions.llMakeFountain(); | ||
640 | } | ||
641 | |||
642 | public void llMakeSmoke() | ||
643 | { | ||
644 | m_LSL_Functions.llMakeSmoke(); | ||
645 | } | ||
646 | |||
647 | public void llMakeFire() | ||
648 | { | ||
649 | m_LSL_Functions.llMakeFire(); | ||
650 | } | ||
651 | |||
652 | public void llRezObject(string inventory, vector pos, rotation rot, int param) | ||
653 | { | ||
654 | m_LSL_Functions.llRezObject(inventory, pos, rot, param); | ||
655 | } | ||
656 | |||
657 | public void llLookAt(vector target, double strength, double damping) | ||
658 | { | ||
659 | m_LSL_Functions.llLookAt(target, strength, damping); | ||
660 | } | ||
661 | |||
662 | public void llStopLookAt() | ||
663 | { | ||
664 | m_LSL_Functions.llStopLookAt(); | ||
665 | } | ||
666 | |||
667 | public void llSetTimerEvent(double sec) | ||
668 | { | ||
669 | m_LSL_Functions.llSetTimerEvent(sec); | ||
670 | } | ||
671 | |||
672 | public void llSleep(double sec) | ||
673 | { | ||
674 | m_LSL_Functions.llSleep(sec); | ||
675 | } | ||
676 | |||
244 | // | 677 | // |
245 | // DO NOT MODIFY HERE: MODIFY IN LSL_BuiltIn_Commands.cs | 678 | // DO NOT MODIFY HERE: MODIFY IN LSL_BuiltIn_Commands.cs |
246 | // | 679 | // |
247 | public double llGetMass() { return m_LSL_Functions.llGetMass(); } | 680 | public double llGetMass() |
248 | public void llCollisionFilter(string name, string id, int accept) { m_LSL_Functions.llCollisionFilter(name, id, accept); } | 681 | { |
249 | public void llTakeControls(int controls, int accept, int pass_on) { m_LSL_Functions.llTakeControls(controls, accept, pass_on); } | 682 | return m_LSL_Functions.llGetMass(); |
250 | public void llReleaseControls() { m_LSL_Functions.llReleaseControls(); } | 683 | } |
251 | public void llAttachToAvatar(int attachment) { m_LSL_Functions.llAttachToAvatar(attachment); } | 684 | |
252 | public void llDetachFromAvatar() { m_LSL_Functions.llDetachFromAvatar(); } | 685 | public void llCollisionFilter(string name, string id, int accept) |
253 | public void llTakeCamera() { m_LSL_Functions.llTakeCamera(); } | 686 | { |
254 | public void llReleaseCamera() { m_LSL_Functions.llReleaseCamera(); } | 687 | m_LSL_Functions.llCollisionFilter(name, id, accept); |
255 | public string llGetOwner() { return m_LSL_Functions.llGetOwner(); } | 688 | } |
256 | public void llInstantMessage(string user, string message) { m_LSL_Functions.llInstantMessage(user, message); } | 689 | |
257 | public void llEmail(string address, string subject, string message) { m_LSL_Functions.llEmail(address, subject, message); } | 690 | public void llTakeControls(int controls, int accept, int pass_on) |
258 | public void llGetNextEmail(string address, string subject) { m_LSL_Functions.llGetNextEmail(address, subject); } | 691 | { |
259 | public string llGetKey() { return m_LSL_Functions.llGetKey(); } | 692 | m_LSL_Functions.llTakeControls(controls, accept, pass_on); |
260 | public void llSetBuoyancy(double buoyancy) { m_LSL_Functions.llSetBuoyancy(buoyancy); } | 693 | } |
261 | public void llSetHoverHeight(double height, int water, double tau) { m_LSL_Functions.llSetHoverHeight(height, water, tau); } | 694 | |
262 | public void llStopHover() { m_LSL_Functions.llStopHover(); } | 695 | public void llReleaseControls() |
263 | public void llMinEventDelay(double delay) { m_LSL_Functions.llMinEventDelay(delay); } | 696 | { |
264 | public void llSoundPreload() { m_LSL_Functions.llSoundPreload(); } | 697 | m_LSL_Functions.llReleaseControls(); |
265 | public void llRotLookAt(LSL_Types.Quaternion target, double strength, double damping) { m_LSL_Functions.llRotLookAt(target, strength, damping); } | 698 | } |
699 | |||
700 | public void llAttachToAvatar(int attachment) | ||
701 | { | ||
702 | m_LSL_Functions.llAttachToAvatar(attachment); | ||
703 | } | ||
704 | |||
705 | public void llDetachFromAvatar() | ||
706 | { | ||
707 | m_LSL_Functions.llDetachFromAvatar(); | ||
708 | } | ||
709 | |||
710 | public void llTakeCamera() | ||
711 | { | ||
712 | m_LSL_Functions.llTakeCamera(); | ||
713 | } | ||
714 | |||
715 | public void llReleaseCamera() | ||
716 | { | ||
717 | m_LSL_Functions.llReleaseCamera(); | ||
718 | } | ||
719 | |||
720 | public string llGetOwner() | ||
721 | { | ||
722 | return m_LSL_Functions.llGetOwner(); | ||
723 | } | ||
724 | |||
725 | public void llInstantMessage(string user, string message) | ||
726 | { | ||
727 | m_LSL_Functions.llInstantMessage(user, message); | ||
728 | } | ||
729 | |||
730 | public void llEmail(string address, string subject, string message) | ||
731 | { | ||
732 | m_LSL_Functions.llEmail(address, subject, message); | ||
733 | } | ||
734 | |||
735 | public void llGetNextEmail(string address, string subject) | ||
736 | { | ||
737 | m_LSL_Functions.llGetNextEmail(address, subject); | ||
738 | } | ||
739 | |||
740 | public string llGetKey() | ||
741 | { | ||
742 | return m_LSL_Functions.llGetKey(); | ||
743 | } | ||
744 | |||
745 | public void llSetBuoyancy(double buoyancy) | ||
746 | { | ||
747 | m_LSL_Functions.llSetBuoyancy(buoyancy); | ||
748 | } | ||
749 | |||
750 | public void llSetHoverHeight(double height, int water, double tau) | ||
751 | { | ||
752 | m_LSL_Functions.llSetHoverHeight(height, water, tau); | ||
753 | } | ||
754 | |||
755 | public void llStopHover() | ||
756 | { | ||
757 | m_LSL_Functions.llStopHover(); | ||
758 | } | ||
759 | |||
760 | public void llMinEventDelay(double delay) | ||
761 | { | ||
762 | m_LSL_Functions.llMinEventDelay(delay); | ||
763 | } | ||
764 | |||
765 | public void llSoundPreload() | ||
766 | { | ||
767 | m_LSL_Functions.llSoundPreload(); | ||
768 | } | ||
769 | |||
770 | public void llRotLookAt(rotation target, double strength, double damping) | ||
771 | { | ||
772 | m_LSL_Functions.llRotLookAt(target, strength, damping); | ||
773 | } | ||
774 | |||
266 | // | 775 | // |
267 | // DO NOT MODIFY HERE: MODIFY IN LSL_BuiltIn_Commands.cs | 776 | // DO NOT MODIFY HERE: MODIFY IN LSL_BuiltIn_Commands.cs |
268 | // | 777 | // |
269 | public int llStringLength(string str) { return m_LSL_Functions.llStringLength(str); } | 778 | public int llStringLength(string str) |
270 | public void llStartAnimation(string anim) { m_LSL_Functions.llStartAnimation(anim); } | 779 | { |
271 | public void llStopAnimation(string anim) { m_LSL_Functions.llStopAnimation(anim); } | 780 | return m_LSL_Functions.llStringLength(str); |
272 | public void llPointAt() { m_LSL_Functions.llPointAt(); } | 781 | } |
273 | public void llStopPointAt() { m_LSL_Functions.llStopPointAt(); } | 782 | |
274 | public void llTargetOmega(LSL_Types.Vector3 axis, double spinrate, double gain) { m_LSL_Functions.llTargetOmega(axis, spinrate, gain); } | 783 | public void llStartAnimation(string anim) |
275 | public int llGetStartParameter() { return m_LSL_Functions.llGetStartParameter(); } | 784 | { |
276 | public void llGodLikeRezObject(string inventory, LSL_Types.Vector3 pos) { m_LSL_Functions.llGodLikeRezObject(inventory, pos); } | 785 | m_LSL_Functions.llStartAnimation(anim); |
277 | public void llRequestPermissions(string agent, int perm) { m_LSL_Functions.llRequestPermissions(agent, perm); } | 786 | } |
278 | public string llGetPermissionsKey() { return m_LSL_Functions.llGetPermissionsKey(); } | 787 | |
279 | public int llGetPermissions() { return m_LSL_Functions.llGetPermissions(); } | 788 | public void llStopAnimation(string anim) |
280 | public int llGetLinkNumber() { return m_LSL_Functions.llGetLinkNumber(); } | 789 | { |
281 | public void llSetLinkColor(int linknumber, LSL_Types.Vector3 color, int face) { m_LSL_Functions.llSetLinkColor(linknumber, color, face); } | 790 | m_LSL_Functions.llStopAnimation(anim); |
282 | public void llCreateLink(string target, int parent) { m_LSL_Functions.llCreateLink(target, parent); } | 791 | } |
283 | public void llBreakLink(int linknum) { m_LSL_Functions.llBreakLink(linknum); } | 792 | |
284 | public void llBreakAllLinks() { m_LSL_Functions.llBreakAllLinks(); } | 793 | public void llPointAt() |
285 | public string llGetLinkKey(int linknum) { return m_LSL_Functions.llGetLinkKey(linknum); } | 794 | { |
286 | public void llGetLinkName(int linknum) { m_LSL_Functions.llGetLinkName(linknum); } | 795 | m_LSL_Functions.llPointAt(); |
287 | public int llGetInventoryNumber(int type) { return m_LSL_Functions.llGetInventoryNumber(type); } | 796 | } |
288 | public string llGetInventoryName(int type, int number) { return m_LSL_Functions.llGetInventoryName(type, number); } | 797 | |
798 | public void llStopPointAt() | ||
799 | { | ||
800 | m_LSL_Functions.llStopPointAt(); | ||
801 | } | ||
802 | |||
803 | public void llTargetOmega(vector axis, double spinrate, double gain) | ||
804 | { | ||
805 | m_LSL_Functions.llTargetOmega(axis, spinrate, gain); | ||
806 | } | ||
807 | |||
808 | public int llGetStartParameter() | ||
809 | { | ||
810 | return m_LSL_Functions.llGetStartParameter(); | ||
811 | } | ||
812 | |||
813 | public void llGodLikeRezObject(string inventory, vector pos) | ||
814 | { | ||
815 | m_LSL_Functions.llGodLikeRezObject(inventory, pos); | ||
816 | } | ||
817 | |||
818 | public void llRequestPermissions(string agent, int perm) | ||
819 | { | ||
820 | m_LSL_Functions.llRequestPermissions(agent, perm); | ||
821 | } | ||
822 | |||
823 | public string llGetPermissionsKey() | ||
824 | { | ||
825 | return m_LSL_Functions.llGetPermissionsKey(); | ||
826 | } | ||
827 | |||
828 | public int llGetPermissions() | ||
829 | { | ||
830 | return m_LSL_Functions.llGetPermissions(); | ||
831 | } | ||
832 | |||
833 | public int llGetLinkNumber() | ||
834 | { | ||
835 | return m_LSL_Functions.llGetLinkNumber(); | ||
836 | } | ||
837 | |||
838 | public void llSetLinkColor(int linknumber, vector color, int face) | ||
839 | { | ||
840 | m_LSL_Functions.llSetLinkColor(linknumber, color, face); | ||
841 | } | ||
842 | |||
843 | public void llCreateLink(string target, int parent) | ||
844 | { | ||
845 | m_LSL_Functions.llCreateLink(target, parent); | ||
846 | } | ||
847 | |||
848 | public void llBreakLink(int linknum) | ||
849 | { | ||
850 | m_LSL_Functions.llBreakLink(linknum); | ||
851 | } | ||
852 | |||
853 | public void llBreakAllLinks() | ||
854 | { | ||
855 | m_LSL_Functions.llBreakAllLinks(); | ||
856 | } | ||
857 | |||
858 | public string llGetLinkKey(int linknum) | ||
859 | { | ||
860 | return m_LSL_Functions.llGetLinkKey(linknum); | ||
861 | } | ||
862 | |||
863 | public void llGetLinkName(int linknum) | ||
864 | { | ||
865 | m_LSL_Functions.llGetLinkName(linknum); | ||
866 | } | ||
867 | |||
868 | public int llGetInventoryNumber(int type) | ||
869 | { | ||
870 | return m_LSL_Functions.llGetInventoryNumber(type); | ||
871 | } | ||
872 | |||
873 | public string llGetInventoryName(int type, int number) | ||
874 | { | ||
875 | return m_LSL_Functions.llGetInventoryName(type, number); | ||
876 | } | ||
877 | |||
289 | // | 878 | // |
290 | // DO NOT MODIFY HERE: MODIFY IN LSL_BuiltIn_Commands.cs | 879 | // DO NOT MODIFY HERE: MODIFY IN LSL_BuiltIn_Commands.cs |
291 | // | 880 | // |
292 | public void llSetScriptState(string name, int run) { m_LSL_Functions.llSetScriptState(name, run); } | 881 | public void llSetScriptState(string name, int run) |
293 | public double llGetEnergy() { return m_LSL_Functions.llGetEnergy(); } | 882 | { |
294 | public void llGiveInventory(string destination, string inventory) { m_LSL_Functions.llGiveInventory(destination, inventory); } | 883 | m_LSL_Functions.llSetScriptState(name, run); |
295 | public void llRemoveInventory(string item) { m_LSL_Functions.llRemoveInventory(item); } | 884 | } |
296 | public void llSetText(string text, LSL_Types.Vector3 color, double alpha) { m_LSL_Functions.llSetText(text, color, alpha); } | 885 | |
297 | public double llWater(LSL_Types.Vector3 offset) { return m_LSL_Functions.llWater(offset); } | 886 | public double llGetEnergy() |
298 | public void llPassTouches(int pass) { m_LSL_Functions.llPassTouches(pass); } | 887 | { |
299 | public string llRequestAgentData(string id, int data) { return m_LSL_Functions.llRequestAgentData(id, data); } | 888 | return m_LSL_Functions.llGetEnergy(); |
300 | public string llRequestInventoryData(string name) { return m_LSL_Functions.llRequestInventoryData(name); } | 889 | } |
301 | public void llSetDamage(double damage) { m_LSL_Functions.llSetDamage(damage); } | 890 | |
302 | public void llTeleportAgentHome(string agent) { m_LSL_Functions.llTeleportAgentHome(agent); } | 891 | public void llGiveInventory(string destination, string inventory) |
303 | public void llModifyLand(int action, int brush) { m_LSL_Functions.llModifyLand(action, brush); } | 892 | { |
304 | public void llCollisionSound(string impact_sound, double impact_volume) { m_LSL_Functions.llCollisionSound(impact_sound, impact_volume); } | 893 | m_LSL_Functions.llGiveInventory(destination, inventory); |
305 | public void llCollisionSprite(string impact_sprite) { m_LSL_Functions.llCollisionSprite(impact_sprite); } | 894 | } |
306 | public string llGetAnimation(string id) { return m_LSL_Functions.llGetAnimation(id); } | 895 | |
307 | public void llResetScript() { m_LSL_Functions.llResetScript(); } | 896 | public void llRemoveInventory(string item) |
308 | public void llMessageLinked(int linknum, int num, string str, string id) { m_LSL_Functions.llMessageLinked(linknum, num, str, id); } | 897 | { |
309 | public void llPushObject(string target, LSL_Types.Vector3 impulse, LSL_Types.Vector3 ang_impulse, int local) { m_LSL_Functions.llPushObject(target, impulse, ang_impulse, local); } | 898 | m_LSL_Functions.llRemoveInventory(item); |
310 | public void llPassCollisions(int pass) { m_LSL_Functions.llPassCollisions(pass); } | 899 | } |
311 | public string llGetScriptName() { return m_LSL_Functions.llGetScriptName(); } | 900 | |
312 | public int llGetNumberOfSides() { return m_LSL_Functions.llGetNumberOfSides(); } | 901 | public void llSetText(string text, vector color, double alpha) |
902 | { | ||
903 | m_LSL_Functions.llSetText(text, color, alpha); | ||
904 | } | ||
905 | |||
906 | public double llWater(vector offset) | ||
907 | { | ||
908 | return m_LSL_Functions.llWater(offset); | ||
909 | } | ||
910 | |||
911 | public void llPassTouches(int pass) | ||
912 | { | ||
913 | m_LSL_Functions.llPassTouches(pass); | ||
914 | } | ||
915 | |||
916 | public string llRequestAgentData(string id, int data) | ||
917 | { | ||
918 | return m_LSL_Functions.llRequestAgentData(id, data); | ||
919 | } | ||
920 | |||
921 | public string llRequestInventoryData(string name) | ||
922 | { | ||
923 | return m_LSL_Functions.llRequestInventoryData(name); | ||
924 | } | ||
925 | |||
926 | public void llSetDamage(double damage) | ||
927 | { | ||
928 | m_LSL_Functions.llSetDamage(damage); | ||
929 | } | ||
930 | |||
931 | public void llTeleportAgentHome(string agent) | ||
932 | { | ||
933 | m_LSL_Functions.llTeleportAgentHome(agent); | ||
934 | } | ||
935 | |||
936 | public void llModifyLand(int action, int brush) | ||
937 | { | ||
938 | m_LSL_Functions.llModifyLand(action, brush); | ||
939 | } | ||
940 | |||
941 | public void llCollisionSound(string impact_sound, double impact_volume) | ||
942 | { | ||
943 | m_LSL_Functions.llCollisionSound(impact_sound, impact_volume); | ||
944 | } | ||
945 | |||
946 | public void llCollisionSprite(string impact_sprite) | ||
947 | { | ||
948 | m_LSL_Functions.llCollisionSprite(impact_sprite); | ||
949 | } | ||
950 | |||
951 | public string llGetAnimation(string id) | ||
952 | { | ||
953 | return m_LSL_Functions.llGetAnimation(id); | ||
954 | } | ||
955 | |||
956 | public void llResetScript() | ||
957 | { | ||
958 | m_LSL_Functions.llResetScript(); | ||
959 | } | ||
960 | |||
961 | public void llMessageLinked(int linknum, int num, string str, string id) | ||
962 | { | ||
963 | m_LSL_Functions.llMessageLinked(linknum, num, str, id); | ||
964 | } | ||
965 | |||
966 | public void llPushObject(string target, vector impulse, vector ang_impulse, int local) | ||
967 | { | ||
968 | m_LSL_Functions.llPushObject(target, impulse, ang_impulse, local); | ||
969 | } | ||
970 | |||
971 | public void llPassCollisions(int pass) | ||
972 | { | ||
973 | m_LSL_Functions.llPassCollisions(pass); | ||
974 | } | ||
975 | |||
976 | public string llGetScriptName() | ||
977 | { | ||
978 | return m_LSL_Functions.llGetScriptName(); | ||
979 | } | ||
980 | |||
981 | public int llGetNumberOfSides() | ||
982 | { | ||
983 | return m_LSL_Functions.llGetNumberOfSides(); | ||
984 | } | ||
985 | |||
313 | // | 986 | // |
314 | // DO NOT MODIFY HERE: MODIFY IN LSL_BuiltIn_Commands.cs | 987 | // DO NOT MODIFY HERE: MODIFY IN LSL_BuiltIn_Commands.cs |
315 | // | 988 | // |
316 | public LSL_Types.Quaternion llAxisAngle2Rot(LSL_Types.Vector3 axis, double angle) { return m_LSL_Functions.llAxisAngle2Rot(axis, angle); } | 989 | public rotation llAxisAngle2Rot(vector axis, double angle) |
317 | public LSL_Types.Vector3 llRot2Axis(LSL_Types.Quaternion rot) { return m_LSL_Functions.llRot2Axis(rot); } | 990 | { |
318 | public void llRot2Angle() { m_LSL_Functions.llRot2Angle(); } | 991 | return m_LSL_Functions.llAxisAngle2Rot(axis, angle); |
319 | public double llAcos(double val) { return m_LSL_Functions.llAcos(val); } | 992 | } |
320 | public double llAsin(double val) { return m_LSL_Functions.llAsin(val); } | 993 | |
321 | public double llAngleBetween(LSL_Types.Quaternion a, LSL_Types.Quaternion b) { return m_LSL_Functions.llAngleBetween(a, b); } | 994 | public vector llRot2Axis(rotation rot) |
322 | public string llGetInventoryKey(string name) { return m_LSL_Functions.llGetInventoryKey(name); } | 995 | { |
323 | public void llAllowInventoryDrop(int add) { m_LSL_Functions.llAllowInventoryDrop(add); } | 996 | return m_LSL_Functions.llRot2Axis(rot); |
324 | public LSL_Types.Vector3 llGetSunDirection() { return m_LSL_Functions.llGetSunDirection(); } | 997 | } |
325 | public LSL_Types.Vector3 llGetTextureOffset(int face) { return m_LSL_Functions.llGetTextureOffset(face); } | 998 | |
326 | public LSL_Types.Vector3 llGetTextureScale(int side) { return m_LSL_Functions.llGetTextureScale(side); } | 999 | public void llRot2Angle() |
327 | public double llGetTextureRot(int side) { return m_LSL_Functions.llGetTextureRot(side); } | 1000 | { |
328 | public int llSubStringIndex(string source, string pattern) { return m_LSL_Functions.llSubStringIndex(source, pattern); } | 1001 | m_LSL_Functions.llRot2Angle(); |
329 | public string llGetOwnerKey(string id) { return m_LSL_Functions.llGetOwnerKey(id); } | 1002 | } |
330 | public LSL_Types.Vector3 llGetCenterOfMass() { return m_LSL_Functions.llGetCenterOfMass(); } | 1003 | |
331 | public List<string> llListSort(List<string> src, int stride, int ascending) { return m_LSL_Functions.llListSort(src, stride, ascending); } | 1004 | public double llAcos(double val) |
332 | public int llGetListLength(List<string> src) { return m_LSL_Functions.llGetListLength(src); } | 1005 | { |
1006 | return m_LSL_Functions.llAcos(val); | ||
1007 | } | ||
1008 | |||
1009 | public double llAsin(double val) | ||
1010 | { | ||
1011 | return m_LSL_Functions.llAsin(val); | ||
1012 | } | ||
1013 | |||
1014 | public double llAngleBetween(rotation a, rotation b) | ||
1015 | { | ||
1016 | return m_LSL_Functions.llAngleBetween(a, b); | ||
1017 | } | ||
1018 | |||
1019 | public string llGetInventoryKey(string name) | ||
1020 | { | ||
1021 | return m_LSL_Functions.llGetInventoryKey(name); | ||
1022 | } | ||
1023 | |||
1024 | public void llAllowInventoryDrop(int add) | ||
1025 | { | ||
1026 | m_LSL_Functions.llAllowInventoryDrop(add); | ||
1027 | } | ||
1028 | |||
1029 | public vector llGetSunDirection() | ||
1030 | { | ||
1031 | return m_LSL_Functions.llGetSunDirection(); | ||
1032 | } | ||
1033 | |||
1034 | public vector llGetTextureOffset(int face) | ||
1035 | { | ||
1036 | return m_LSL_Functions.llGetTextureOffset(face); | ||
1037 | } | ||
1038 | |||
1039 | public vector llGetTextureScale(int side) | ||
1040 | { | ||
1041 | return m_LSL_Functions.llGetTextureScale(side); | ||
1042 | } | ||
1043 | |||
1044 | public double llGetTextureRot(int side) | ||
1045 | { | ||
1046 | return m_LSL_Functions.llGetTextureRot(side); | ||
1047 | } | ||
1048 | |||
1049 | public int llSubStringIndex(string source, string pattern) | ||
1050 | { | ||
1051 | return m_LSL_Functions.llSubStringIndex(source, pattern); | ||
1052 | } | ||
1053 | |||
1054 | public string llGetOwnerKey(string id) | ||
1055 | { | ||
1056 | return m_LSL_Functions.llGetOwnerKey(id); | ||
1057 | } | ||
1058 | |||
1059 | public vector llGetCenterOfMass() | ||
1060 | { | ||
1061 | return m_LSL_Functions.llGetCenterOfMass(); | ||
1062 | } | ||
1063 | |||
1064 | public List<string> llListSort(List<string> src, int stride, int ascending) | ||
1065 | { | ||
1066 | return m_LSL_Functions.llListSort(src, stride, ascending); | ||
1067 | } | ||
1068 | |||
1069 | public int llGetListLength(List<string> src) | ||
1070 | { | ||
1071 | return m_LSL_Functions.llGetListLength(src); | ||
1072 | } | ||
1073 | |||
333 | // | 1074 | // |
334 | // DO NOT MODIFY HERE: MODIFY IN LSL_BuiltIn_Commands.cs | 1075 | // DO NOT MODIFY HERE: MODIFY IN LSL_BuiltIn_Commands.cs |
335 | // | 1076 | // |
336 | public int llList2Integer(List<string> src, int index) { return m_LSL_Functions.llList2Integer(src, index); } | 1077 | public int llList2Integer(List<string> src, int index) |
337 | public double llList2double(List<string> src, int index) { return m_LSL_Functions.llList2double(src, index); } | 1078 | { |
338 | public string llList2String(List<string> src, int index) { return m_LSL_Functions.llList2String(src, index); } | 1079 | return m_LSL_Functions.llList2Integer(src, index); |
339 | public string llList2Key(List<string> src, int index) { return m_LSL_Functions.llList2Key(src, index); } | 1080 | } |
340 | public LSL_Types.Vector3 llList2Vector(List<string> src, int index) { return m_LSL_Functions.llList2Vector(src, index); } | 1081 | |
341 | public LSL_Types.Quaternion llList2Rot(List<string> src, int index) { return m_LSL_Functions.llList2Rot(src, index); } | 1082 | public double llList2double(List<string> src, int index) |
342 | public List<string> llList2List(List<string> src, int start, int end) { return m_LSL_Functions.llList2List(src, start, end); } | 1083 | { |
343 | public List<string> llDeleteSubList(List<string> src, int start, int end) { return m_LSL_Functions.llDeleteSubList(src, start, end); } | 1084 | return m_LSL_Functions.llList2double(src, index); |
344 | public int llGetListEntryType(List<string> src, int index) { return m_LSL_Functions.llGetListEntryType(src, index); } | 1085 | } |
345 | public string llList2CSV(List<string> src) { return m_LSL_Functions.llList2CSV(src); } | 1086 | |
346 | public List<string> llCSV2List(string src) { return m_LSL_Functions.llCSV2List(src); } | 1087 | public string llList2String(List<string> src, int index) |
347 | public List<string> llListRandomize(List<string> src, int stride) { return m_LSL_Functions.llListRandomize(src, stride); } | 1088 | { |
348 | public List<string> llList2ListStrided(List<string> src, int start, int end, int stride) { return m_LSL_Functions.llList2ListStrided(src, start, end, stride); } | 1089 | return m_LSL_Functions.llList2String(src, index); |
349 | public LSL_Types.Vector3 llGetRegionCorner() { return m_LSL_Functions.llGetRegionCorner(); } | 1090 | } |
350 | public List<string> llListInsertList(List<string> dest, List<string> src, int start) { return m_LSL_Functions.llListInsertList(dest, src, start); } | 1091 | |
351 | public int llListFindList(List<string> src, List<string> test) { return m_LSL_Functions.llListFindList(src, test); } | 1092 | public string llList2Key(List<string> src, int index) |
352 | public string llGetObjectName() { return m_LSL_Functions.llGetObjectName(); } | 1093 | { |
353 | public void llSetObjectName(string name) { m_LSL_Functions.llSetObjectName(name); } | 1094 | return m_LSL_Functions.llList2Key(src, index); |
354 | public string llGetDate() { return m_LSL_Functions.llGetDate(); } | 1095 | } |
355 | public int llEdgeOfWorld(LSL_Types.Vector3 pos, LSL_Types.Vector3 dir) { return m_LSL_Functions.llEdgeOfWorld(pos, dir); } | 1096 | |
356 | public int llGetAgentInfo(string id) { return m_LSL_Functions.llGetAgentInfo(id); } | 1097 | public vector llList2Vector(List<string> src, int index) |
1098 | { | ||
1099 | return m_LSL_Functions.llList2Vector(src, index); | ||
1100 | } | ||
1101 | |||
1102 | public rotation llList2Rot(List<string> src, int index) | ||
1103 | { | ||
1104 | return m_LSL_Functions.llList2Rot(src, index); | ||
1105 | } | ||
1106 | |||
1107 | public List<string> llList2List(List<string> src, int start, int end) | ||
1108 | { | ||
1109 | return m_LSL_Functions.llList2List(src, start, end); | ||
1110 | } | ||
1111 | |||
1112 | public List<string> llDeleteSubList(List<string> src, int start, int end) | ||
1113 | { | ||
1114 | return m_LSL_Functions.llDeleteSubList(src, start, end); | ||
1115 | } | ||
1116 | |||
1117 | public int llGetListEntryType(List<string> src, int index) | ||
1118 | { | ||
1119 | return m_LSL_Functions.llGetListEntryType(src, index); | ||
1120 | } | ||
1121 | |||
1122 | public string llList2CSV(List<string> src) | ||
1123 | { | ||
1124 | return m_LSL_Functions.llList2CSV(src); | ||
1125 | } | ||
1126 | |||
1127 | public List<string> llCSV2List(string src) | ||
1128 | { | ||
1129 | return m_LSL_Functions.llCSV2List(src); | ||
1130 | } | ||
1131 | |||
1132 | public List<string> llListRandomize(List<string> src, int stride) | ||
1133 | { | ||
1134 | return m_LSL_Functions.llListRandomize(src, stride); | ||
1135 | } | ||
1136 | |||
1137 | public List<string> llList2ListStrided(List<string> src, int start, int end, int stride) | ||
1138 | { | ||
1139 | return m_LSL_Functions.llList2ListStrided(src, start, end, stride); | ||
1140 | } | ||
1141 | |||
1142 | public vector llGetRegionCorner() | ||
1143 | { | ||
1144 | return m_LSL_Functions.llGetRegionCorner(); | ||
1145 | } | ||
1146 | |||
1147 | public List<string> llListInsertList(List<string> dest, List<string> src, int start) | ||
1148 | { | ||
1149 | return m_LSL_Functions.llListInsertList(dest, src, start); | ||
1150 | } | ||
1151 | |||
1152 | public int llListFindList(List<string> src, List<string> test) | ||
1153 | { | ||
1154 | return m_LSL_Functions.llListFindList(src, test); | ||
1155 | } | ||
1156 | |||
1157 | public string llGetObjectName() | ||
1158 | { | ||
1159 | return m_LSL_Functions.llGetObjectName(); | ||
1160 | } | ||
1161 | |||
1162 | public void llSetObjectName(string name) | ||
1163 | { | ||
1164 | m_LSL_Functions.llSetObjectName(name); | ||
1165 | } | ||
1166 | |||
1167 | public string llGetDate() | ||
1168 | { | ||
1169 | return m_LSL_Functions.llGetDate(); | ||
1170 | } | ||
1171 | |||
1172 | public int llEdgeOfWorld(vector pos, vector dir) | ||
1173 | { | ||
1174 | return m_LSL_Functions.llEdgeOfWorld(pos, dir); | ||
1175 | } | ||
1176 | |||
1177 | public int llGetAgentInfo(string id) | ||
1178 | { | ||
1179 | return m_LSL_Functions.llGetAgentInfo(id); | ||
1180 | } | ||
1181 | |||
357 | // | 1182 | // |
358 | // DO NOT MODIFY HERE: MODIFY IN LSL_BuiltIn_Commands.cs | 1183 | // DO NOT MODIFY HERE: MODIFY IN LSL_BuiltIn_Commands.cs |
359 | // | 1184 | // |
360 | public void llAdjustSoundVolume(double volume) { m_LSL_Functions.llAdjustSoundVolume(volume); } | 1185 | public void llAdjustSoundVolume(double volume) |
361 | public void llSetSoundQueueing(int queue) { m_LSL_Functions.llSetSoundQueueing(queue); } | 1186 | { |
362 | public void llSetSoundRadius(double radius) { m_LSL_Functions.llSetSoundRadius(radius); } | 1187 | m_LSL_Functions.llAdjustSoundVolume(volume); |
363 | public string llKey2Name(string id) { return m_LSL_Functions.llKey2Name(id); } | 1188 | } |
364 | public void llSetTextureAnim(int mode, int face, int sizex, int sizey, double start, double length, double rate) { m_LSL_Functions.llSetTextureAnim(mode, face, sizex, sizey, start, length, rate); } | 1189 | |
365 | public void llTriggerSoundLimited(string sound, double volume, LSL_Types.Vector3 top_north_east, LSL_Types.Vector3 bottom_south_west) { m_LSL_Functions.llTriggerSoundLimited(sound, volume, top_north_east, bottom_south_west); } | 1190 | public void llSetSoundQueueing(int queue) |
366 | public void llEjectFromLand(string pest) { m_LSL_Functions.llEjectFromLand(pest); } | 1191 | { |
367 | public void llParseString2List() { m_LSL_Functions.llParseString2List(); } | 1192 | m_LSL_Functions.llSetSoundQueueing(queue); |
368 | public int llOverMyLand(string id) { return m_LSL_Functions.llOverMyLand(id); } | 1193 | } |
369 | public string llGetLandOwnerAt(LSL_Types.Vector3 pos) { return m_LSL_Functions.llGetLandOwnerAt(pos); } | 1194 | |
370 | public string llGetNotecardLine(string name, int line) { return m_LSL_Functions.llGetNotecardLine(name, line); } | 1195 | public void llSetSoundRadius(double radius) |
371 | public LSL_Types.Vector3 llGetAgentSize(string id) { return m_LSL_Functions.llGetAgentSize(id); } | 1196 | { |
372 | public int llSameGroup(string agent) { return m_LSL_Functions.llSameGroup(agent); } | 1197 | m_LSL_Functions.llSetSoundRadius(radius); |
373 | public void llUnSit(string id) { m_LSL_Functions.llUnSit(id); } | 1198 | } |
374 | public LSL_Types.Vector3 llGroundSlope(LSL_Types.Vector3 offset) { return m_LSL_Functions.llGroundSlope(offset); } | 1199 | |
375 | public LSL_Types.Vector3 llGroundNormal(LSL_Types.Vector3 offset) { return m_LSL_Functions.llGroundNormal(offset); } | 1200 | public string llKey2Name(string id) |
376 | public LSL_Types.Vector3 llGroundContour(LSL_Types.Vector3 offset) { return m_LSL_Functions.llGroundContour(offset); } | 1201 | { |
377 | public int llGetAttached() { return m_LSL_Functions.llGetAttached(); } | 1202 | return m_LSL_Functions.llKey2Name(id); |
378 | public int llGetFreeMemory() { return m_LSL_Functions.llGetFreeMemory(); } | 1203 | } |
379 | public string llGetRegionName() { return m_LSL_Functions.llGetRegionName(); } | 1204 | |
380 | public double llGetRegionTimeDilation() { return m_LSL_Functions.llGetRegionTimeDilation(); } | 1205 | public void llSetTextureAnim(int mode, int face, int sizex, int sizey, double start, double length, double rate) |
381 | public double llGetRegionFPS() { return m_LSL_Functions.llGetRegionFPS(); } | 1206 | { |
1207 | m_LSL_Functions.llSetTextureAnim(mode, face, sizex, sizey, start, length, rate); | ||
1208 | } | ||
1209 | |||
1210 | public void llTriggerSoundLimited(string sound, double volume, vector top_north_east, vector bottom_south_west) | ||
1211 | { | ||
1212 | m_LSL_Functions.llTriggerSoundLimited(sound, volume, top_north_east, bottom_south_west); | ||
1213 | } | ||
1214 | |||
1215 | public void llEjectFromLand(string pest) | ||
1216 | { | ||
1217 | m_LSL_Functions.llEjectFromLand(pest); | ||
1218 | } | ||
1219 | |||
1220 | public void llParseString2List() | ||
1221 | { | ||
1222 | m_LSL_Functions.llParseString2List(); | ||
1223 | } | ||
1224 | |||
1225 | public int llOverMyLand(string id) | ||
1226 | { | ||
1227 | return m_LSL_Functions.llOverMyLand(id); | ||
1228 | } | ||
1229 | |||
1230 | public string llGetLandOwnerAt(vector pos) | ||
1231 | { | ||
1232 | return m_LSL_Functions.llGetLandOwnerAt(pos); | ||
1233 | } | ||
1234 | |||
1235 | public string llGetNotecardLine(string name, int line) | ||
1236 | { | ||
1237 | return m_LSL_Functions.llGetNotecardLine(name, line); | ||
1238 | } | ||
1239 | |||
1240 | public vector llGetAgentSize(string id) | ||
1241 | { | ||
1242 | return m_LSL_Functions.llGetAgentSize(id); | ||
1243 | } | ||
1244 | |||
1245 | public int llSameGroup(string agent) | ||
1246 | { | ||
1247 | return m_LSL_Functions.llSameGroup(agent); | ||
1248 | } | ||
1249 | |||
1250 | public void llUnSit(string id) | ||
1251 | { | ||
1252 | m_LSL_Functions.llUnSit(id); | ||
1253 | } | ||
1254 | |||
1255 | public vector llGroundSlope(vector offset) | ||
1256 | { | ||
1257 | return m_LSL_Functions.llGroundSlope(offset); | ||
1258 | } | ||
1259 | |||
1260 | public vector llGroundNormal(vector offset) | ||
1261 | { | ||
1262 | return m_LSL_Functions.llGroundNormal(offset); | ||
1263 | } | ||
1264 | |||
1265 | public vector llGroundContour(vector offset) | ||
1266 | { | ||
1267 | return m_LSL_Functions.llGroundContour(offset); | ||
1268 | } | ||
1269 | |||
1270 | public int llGetAttached() | ||
1271 | { | ||
1272 | return m_LSL_Functions.llGetAttached(); | ||
1273 | } | ||
1274 | |||
1275 | public int llGetFreeMemory() | ||
1276 | { | ||
1277 | return m_LSL_Functions.llGetFreeMemory(); | ||
1278 | } | ||
1279 | |||
1280 | public string llGetRegionName() | ||
1281 | { | ||
1282 | return m_LSL_Functions.llGetRegionName(); | ||
1283 | } | ||
1284 | |||
1285 | public double llGetRegionTimeDilation() | ||
1286 | { | ||
1287 | return m_LSL_Functions.llGetRegionTimeDilation(); | ||
1288 | } | ||
1289 | |||
1290 | public double llGetRegionFPS() | ||
1291 | { | ||
1292 | return m_LSL_Functions.llGetRegionFPS(); | ||
1293 | } | ||
1294 | |||
382 | // | 1295 | // |
383 | // DO NOT MODIFY HERE: MODIFY IN LSL_BuiltIn_Commands.cs | 1296 | // DO NOT MODIFY HERE: MODIFY IN LSL_BuiltIn_Commands.cs |
384 | // | 1297 | // |
385 | public void llParticleSystem(List<Object> rules) { m_LSL_Functions.llParticleSystem(rules); } | 1298 | public void llParticleSystem(List<Object> rules) |
386 | public void llGroundRepel(double height, int water, double tau) { m_LSL_Functions.llGroundRepel(height, water, tau); } | 1299 | { |
387 | public void llGiveInventoryList() { m_LSL_Functions.llGiveInventoryList(); } | 1300 | m_LSL_Functions.llParticleSystem(rules); |
388 | public void llSetVehicleType(int type) { m_LSL_Functions.llSetVehicleType(type); } | 1301 | } |
389 | public void llSetVehicledoubleParam(int param, double value) { m_LSL_Functions.llSetVehicledoubleParam(param, value); } | 1302 | |
390 | public void llSetVehicleVectorParam(int param, LSL_Types.Vector3 vec) { m_LSL_Functions.llSetVehicleVectorParam(param, vec); } | 1303 | public void llGroundRepel(double height, int water, double tau) |
391 | public void llSetVehicleRotationParam(int param, LSL_Types.Quaternion rot) { m_LSL_Functions.llSetVehicleRotationParam(param, rot); } | 1304 | { |
392 | public void llSetVehicleFlags(int flags) { m_LSL_Functions.llSetVehicleFlags(flags); } | 1305 | m_LSL_Functions.llGroundRepel(height, water, tau); |
393 | public void llRemoveVehicleFlags(int flags) { m_LSL_Functions.llRemoveVehicleFlags(flags); } | 1306 | } |
394 | public void llSitTarget(LSL_Types.Vector3 offset, LSL_Types.Quaternion rot) { m_LSL_Functions.llSitTarget(offset, rot); } | 1307 | |
395 | public string llAvatarOnSitTarget() { return m_LSL_Functions.llAvatarOnSitTarget(); } | 1308 | public void llGiveInventoryList() |
396 | public void llAddToLandPassList(string avatar, double hours) { m_LSL_Functions.llAddToLandPassList(avatar, hours); } | 1309 | { |
397 | public void llSetTouchText(string text) { m_LSL_Functions.llSetTouchText(text); } | 1310 | m_LSL_Functions.llGiveInventoryList(); |
398 | public void llSetSitText(string text) { m_LSL_Functions.llSetSitText(text); } | 1311 | } |
399 | public void llSetCameraEyeOffset(LSL_Types.Vector3 offset) { m_LSL_Functions.llSetCameraEyeOffset(offset); } | 1312 | |
400 | public void llSetCameraAtOffset(LSL_Types.Vector3 offset) { m_LSL_Functions.llSetCameraAtOffset(offset); } | 1313 | public void llSetVehicleType(int type) |
401 | public void llDumpList2String() { m_LSL_Functions.llDumpList2String(); } | 1314 | { |
402 | public void llScriptDanger(LSL_Types.Vector3 pos) { m_LSL_Functions.llScriptDanger(pos); } | 1315 | m_LSL_Functions.llSetVehicleType(type); |
403 | public void llDialog(string avatar, string message, List<string> buttons, int chat_channel) { m_LSL_Functions.llDialog(avatar, message, buttons, chat_channel); } | 1316 | } |
404 | public void llVolumeDetect(int detect) { m_LSL_Functions.llVolumeDetect(detect); } | 1317 | |
405 | public void llResetOtherScript(string name) { m_LSL_Functions.llResetOtherScript(name); } | 1318 | public void llSetVehicledoubleParam(int param, double value) |
406 | public int llGetScriptState(string name) { return m_LSL_Functions.llGetScriptState(name); } | 1319 | { |
407 | public void llRemoteLoadScript() { m_LSL_Functions.llRemoteLoadScript(); } | 1320 | m_LSL_Functions.llSetVehicledoubleParam(param, value); |
408 | public void llSetRemoteScriptAccessPin(int pin) { m_LSL_Functions.llSetRemoteScriptAccessPin(pin); } | 1321 | } |
409 | public void llRemoteLoadScriptPin(string target, string name, int pin, int running, int start_param) { m_LSL_Functions.llRemoteLoadScriptPin(target, name, pin, running, start_param); } | 1322 | |
1323 | public void llSetVehicleVectorParam(int param, vector vec) | ||
1324 | { | ||
1325 | m_LSL_Functions.llSetVehicleVectorParam(param, vec); | ||
1326 | } | ||
1327 | |||
1328 | public void llSetVehicleRotationParam(int param, rotation rot) | ||
1329 | { | ||
1330 | m_LSL_Functions.llSetVehicleRotationParam(param, rot); | ||
1331 | } | ||
1332 | |||
1333 | public void llSetVehicleFlags(int flags) | ||
1334 | { | ||
1335 | m_LSL_Functions.llSetVehicleFlags(flags); | ||
1336 | } | ||
1337 | |||
1338 | public void llRemoveVehicleFlags(int flags) | ||
1339 | { | ||
1340 | m_LSL_Functions.llRemoveVehicleFlags(flags); | ||
1341 | } | ||
1342 | |||
1343 | public void llSitTarget(vector offset, rotation rot) | ||
1344 | { | ||
1345 | m_LSL_Functions.llSitTarget(offset, rot); | ||
1346 | } | ||
1347 | |||
1348 | public string llAvatarOnSitTarget() | ||
1349 | { | ||
1350 | return m_LSL_Functions.llAvatarOnSitTarget(); | ||
1351 | } | ||
1352 | |||
1353 | public void llAddToLandPassList(string avatar, double hours) | ||
1354 | { | ||
1355 | m_LSL_Functions.llAddToLandPassList(avatar, hours); | ||
1356 | } | ||
1357 | |||
1358 | public void llSetTouchText(string text) | ||
1359 | { | ||
1360 | m_LSL_Functions.llSetTouchText(text); | ||
1361 | } | ||
1362 | |||
1363 | public void llSetSitText(string text) | ||
1364 | { | ||
1365 | m_LSL_Functions.llSetSitText(text); | ||
1366 | } | ||
1367 | |||
1368 | public void llSetCameraEyeOffset(vector offset) | ||
1369 | { | ||
1370 | m_LSL_Functions.llSetCameraEyeOffset(offset); | ||
1371 | } | ||
1372 | |||
1373 | public void llSetCameraAtOffset(vector offset) | ||
1374 | { | ||
1375 | m_LSL_Functions.llSetCameraAtOffset(offset); | ||
1376 | } | ||
1377 | |||
1378 | public void llDumpList2String() | ||
1379 | { | ||
1380 | m_LSL_Functions.llDumpList2String(); | ||
1381 | } | ||
1382 | |||
1383 | public void llScriptDanger(vector pos) | ||
1384 | { | ||
1385 | m_LSL_Functions.llScriptDanger(pos); | ||
1386 | } | ||
1387 | |||
1388 | public void llDialog(string avatar, string message, List<string> buttons, int chat_channel) | ||
1389 | { | ||
1390 | m_LSL_Functions.llDialog(avatar, message, buttons, chat_channel); | ||
1391 | } | ||
1392 | |||
1393 | public void llVolumeDetect(int detect) | ||
1394 | { | ||
1395 | m_LSL_Functions.llVolumeDetect(detect); | ||
1396 | } | ||
1397 | |||
1398 | public void llResetOtherScript(string name) | ||
1399 | { | ||
1400 | m_LSL_Functions.llResetOtherScript(name); | ||
1401 | } | ||
1402 | |||
1403 | public int llGetScriptState(string name) | ||
1404 | { | ||
1405 | return m_LSL_Functions.llGetScriptState(name); | ||
1406 | } | ||
1407 | |||
1408 | public void llRemoteLoadScript() | ||
1409 | { | ||
1410 | m_LSL_Functions.llRemoteLoadScript(); | ||
1411 | } | ||
1412 | |||
1413 | public void llSetRemoteScriptAccessPin(int pin) | ||
1414 | { | ||
1415 | m_LSL_Functions.llSetRemoteScriptAccessPin(pin); | ||
1416 | } | ||
1417 | |||
1418 | public void llRemoteLoadScriptPin(string target, string name, int pin, int running, int start_param) | ||
1419 | { | ||
1420 | m_LSL_Functions.llRemoteLoadScriptPin(target, name, pin, running, start_param); | ||
1421 | } | ||
1422 | |||
410 | // | 1423 | // |
411 | // DO NOT MODIFY HERE: MODIFY IN LSL_BuiltIn_Commands.cs | 1424 | // DO NOT MODIFY HERE: MODIFY IN LSL_BuiltIn_Commands.cs |
412 | // | 1425 | // |
413 | public void llOpenRemoteDataChannel() { m_LSL_Functions.llOpenRemoteDataChannel(); } | 1426 | public void llOpenRemoteDataChannel() |
414 | public string llSendRemoteData(string channel, string dest, int idata, string sdata) { return m_LSL_Functions.llSendRemoteData(channel, dest, idata, sdata); } | 1427 | { |
415 | public void llRemoteDataReply(string channel, string message_id, string sdata, int idata) { m_LSL_Functions.llRemoteDataReply(channel, message_id, sdata, idata); } | 1428 | m_LSL_Functions.llOpenRemoteDataChannel(); |
416 | public void llCloseRemoteDataChannel(string channel) { m_LSL_Functions.llCloseRemoteDataChannel(channel); } | 1429 | } |
417 | public string llMD5String(string src, int nonce) { return m_LSL_Functions.llMD5String(src, nonce); } | 1430 | |
418 | public void llSetPrimitiveParams(List<string> rules) { m_LSL_Functions.llSetPrimitiveParams(rules); } | 1431 | public string llSendRemoteData(string channel, string dest, int idata, string sdata) |
419 | public string llStringToBase64(string str) { return m_LSL_Functions.llStringToBase64(str); } | 1432 | { |
420 | public string llBase64ToString(string str) { return m_LSL_Functions.llBase64ToString(str); } | 1433 | return m_LSL_Functions.llSendRemoteData(channel, dest, idata, sdata); |
421 | public void llXorBase64Strings() { m_LSL_Functions.llXorBase64Strings(); } | 1434 | } |
422 | public void llRemoteDataSetRegion() { m_LSL_Functions.llRemoteDataSetRegion(); } | 1435 | |
423 | public double llLog10(double val) { return m_LSL_Functions.llLog10(val); } | 1436 | public void llRemoteDataReply(string channel, string message_id, string sdata, int idata) |
424 | public double llLog(double val) { return m_LSL_Functions.llLog(val); } | 1437 | { |
425 | public List<string> llGetAnimationList(string id) { return m_LSL_Functions.llGetAnimationList(id); } | 1438 | m_LSL_Functions.llRemoteDataReply(channel, message_id, sdata, idata); |
426 | public void llSetParcelMusicURL(string url) { m_LSL_Functions.llSetParcelMusicURL(url); } | 1439 | } |
427 | public LSL_Types.Vector3 llGetRootPosition() { return m_LSL_Functions.llGetRootPosition(); } | 1440 | |
428 | public LSL_Types.Quaternion llGetRootRotation() { return m_LSL_Functions.llGetRootRotation(); } | 1441 | public void llCloseRemoteDataChannel(string channel) |
429 | public string llGetObjectDesc() { return m_LSL_Functions.llGetObjectDesc(); } | 1442 | { |
430 | public void llSetObjectDesc(string desc) { m_LSL_Functions.llSetObjectDesc(desc); } | 1443 | m_LSL_Functions.llCloseRemoteDataChannel(channel); |
431 | public string llGetCreator() { return m_LSL_Functions.llGetCreator(); } | 1444 | } |
432 | public string llGetTimestamp() { return m_LSL_Functions.llGetTimestamp(); } | 1445 | |
433 | public void llSetLinkAlpha(int linknumber, double alpha, int face) { m_LSL_Functions.llSetLinkAlpha(linknumber, alpha, face); } | 1446 | public string llMD5String(string src, int nonce) |
434 | public int llGetNumberOfPrims() { return m_LSL_Functions.llGetNumberOfPrims(); } | 1447 | { |
435 | public string llGetNumberOfNotecardLines(string name) { return m_LSL_Functions.llGetNumberOfNotecardLines(name); } | 1448 | return m_LSL_Functions.llMD5String(src, nonce); |
436 | public List<string> llGetBoundingBox(string obj) { return m_LSL_Functions.llGetBoundingBox(obj); } | 1449 | } |
437 | public LSL_Types.Vector3 llGetGeometricCenter() { return m_LSL_Functions.llGetGeometricCenter(); } | 1450 | |
438 | public void llGetPrimitiveParams() { m_LSL_Functions.llGetPrimitiveParams(); } | 1451 | public void llSetPrimitiveParams(List<string> rules) |
1452 | { | ||
1453 | m_LSL_Functions.llSetPrimitiveParams(rules); | ||
1454 | } | ||
1455 | |||
1456 | public string llStringToBase64(string str) | ||
1457 | { | ||
1458 | return m_LSL_Functions.llStringToBase64(str); | ||
1459 | } | ||
1460 | |||
1461 | public string llBase64ToString(string str) | ||
1462 | { | ||
1463 | return m_LSL_Functions.llBase64ToString(str); | ||
1464 | } | ||
1465 | |||
1466 | public void llXorBase64Strings() | ||
1467 | { | ||
1468 | m_LSL_Functions.llXorBase64Strings(); | ||
1469 | } | ||
1470 | |||
1471 | public void llRemoteDataSetRegion() | ||
1472 | { | ||
1473 | m_LSL_Functions.llRemoteDataSetRegion(); | ||
1474 | } | ||
1475 | |||
1476 | public double llLog10(double val) | ||
1477 | { | ||
1478 | return m_LSL_Functions.llLog10(val); | ||
1479 | } | ||
1480 | |||
1481 | public double llLog(double val) | ||
1482 | { | ||
1483 | return m_LSL_Functions.llLog(val); | ||
1484 | } | ||
1485 | |||
1486 | public List<string> llGetAnimationList(string id) | ||
1487 | { | ||
1488 | return m_LSL_Functions.llGetAnimationList(id); | ||
1489 | } | ||
1490 | |||
1491 | public void llSetParcelMusicURL(string url) | ||
1492 | { | ||
1493 | m_LSL_Functions.llSetParcelMusicURL(url); | ||
1494 | } | ||
1495 | |||
1496 | public vector llGetRootPosition() | ||
1497 | { | ||
1498 | return m_LSL_Functions.llGetRootPosition(); | ||
1499 | } | ||
1500 | |||
1501 | public rotation llGetRootRotation() | ||
1502 | { | ||
1503 | return m_LSL_Functions.llGetRootRotation(); | ||
1504 | } | ||
1505 | |||
1506 | public string llGetObjectDesc() | ||
1507 | { | ||
1508 | return m_LSL_Functions.llGetObjectDesc(); | ||
1509 | } | ||
1510 | |||
1511 | public void llSetObjectDesc(string desc) | ||
1512 | { | ||
1513 | m_LSL_Functions.llSetObjectDesc(desc); | ||
1514 | } | ||
1515 | |||
1516 | public string llGetCreator() | ||
1517 | { | ||
1518 | return m_LSL_Functions.llGetCreator(); | ||
1519 | } | ||
1520 | |||
1521 | public string llGetTimestamp() | ||
1522 | { | ||
1523 | return m_LSL_Functions.llGetTimestamp(); | ||
1524 | } | ||
1525 | |||
1526 | public void llSetLinkAlpha(int linknumber, double alpha, int face) | ||
1527 | { | ||
1528 | m_LSL_Functions.llSetLinkAlpha(linknumber, alpha, face); | ||
1529 | } | ||
1530 | |||
1531 | public int llGetNumberOfPrims() | ||
1532 | { | ||
1533 | return m_LSL_Functions.llGetNumberOfPrims(); | ||
1534 | } | ||
1535 | |||
1536 | public string llGetNumberOfNotecardLines(string name) | ||
1537 | { | ||
1538 | return m_LSL_Functions.llGetNumberOfNotecardLines(name); | ||
1539 | } | ||
1540 | |||
1541 | public List<string> llGetBoundingBox(string obj) | ||
1542 | { | ||
1543 | return m_LSL_Functions.llGetBoundingBox(obj); | ||
1544 | } | ||
1545 | |||
1546 | public vector llGetGeometricCenter() | ||
1547 | { | ||
1548 | return m_LSL_Functions.llGetGeometricCenter(); | ||
1549 | } | ||
1550 | |||
1551 | public void llGetPrimitiveParams() | ||
1552 | { | ||
1553 | m_LSL_Functions.llGetPrimitiveParams(); | ||
1554 | } | ||
1555 | |||
439 | // | 1556 | // |
440 | // DO NOT MODIFY HERE: MODIFY IN LSL_BuiltIn_Commands.cs | 1557 | // DO NOT MODIFY HERE: MODIFY IN LSL_BuiltIn_Commands.cs |
441 | // | 1558 | // |
442 | public string llIntegerToBase64(int number) { return m_LSL_Functions.llIntegerToBase64(number); } | 1559 | public string llIntegerToBase64(int number) |
443 | public int llBase64ToInteger(string str) { return m_LSL_Functions.llBase64ToInteger(str); } | 1560 | { |
444 | public double llGetGMTclock() { return m_LSL_Functions.llGetGMTclock(); } | 1561 | return m_LSL_Functions.llIntegerToBase64(number); |
445 | public string llGetSimulatorHostname() { return m_LSL_Functions.llGetSimulatorHostname(); } | 1562 | } |
446 | public void llSetLocalRot(LSL_Types.Quaternion rot) { m_LSL_Functions.llSetLocalRot(rot); } | 1563 | |
447 | public List<string> llParseStringKeepNulls(string src, List<string> seperators, List<string> spacers) { return m_LSL_Functions.llParseStringKeepNulls(src, seperators, spacers); } | 1564 | public int llBase64ToInteger(string str) |
448 | public void llRezAtRoot(string inventory, LSL_Types.Vector3 position, LSL_Types.Vector3 velocity, LSL_Types.Quaternion rot, int param) { m_LSL_Functions.llRezAtRoot(inventory, position, velocity, rot, param); } | 1565 | { |
449 | public int llGetObjectPermMask(int mask) { return m_LSL_Functions.llGetObjectPermMask(mask); } | 1566 | return m_LSL_Functions.llBase64ToInteger(str); |
450 | public void llSetObjectPermMask(int mask, int value) { m_LSL_Functions.llSetObjectPermMask(mask, value); } | 1567 | } |
451 | public void llGetInventoryPermMask(string item, int mask) { m_LSL_Functions.llGetInventoryPermMask(item, mask); } | 1568 | |
452 | public void llSetInventoryPermMask(string item, int mask, int value) { m_LSL_Functions.llSetInventoryPermMask(item, mask, value); } | 1569 | public double llGetGMTclock() |
453 | public string llGetInventoryCreator(string item) { return m_LSL_Functions.llGetInventoryCreator(item); } | 1570 | { |
454 | public void llOwnerSay(string msg) { m_LSL_Functions.llOwnerSay(msg); } | 1571 | return m_LSL_Functions.llGetGMTclock(); |
455 | public void llRequestSimulatorData(string simulator, int data) { m_LSL_Functions.llRequestSimulatorData(simulator, data); } | 1572 | } |
456 | public void llForceMouselook(int mouselook) { m_LSL_Functions.llForceMouselook(mouselook); } | 1573 | |
457 | public double llGetObjectMass(string id) { return m_LSL_Functions.llGetObjectMass(id); } | 1574 | public string llGetSimulatorHostname() |
458 | public void llListReplaceList() { m_LSL_Functions.llListReplaceList(); } | 1575 | { |
459 | public void llLoadURL(string avatar_id, string message, string url) { m_LSL_Functions.llLoadURL(avatar_id, message, url); } | 1576 | return m_LSL_Functions.llGetSimulatorHostname(); |
460 | public void llParcelMediaCommandList(List<string> commandList) { m_LSL_Functions.llParcelMediaCommandList(commandList); } | 1577 | } |
461 | public void llParcelMediaQuery() { m_LSL_Functions.llParcelMediaQuery(); } | 1578 | |
462 | public int llModPow(int a, int b, int c) { return m_LSL_Functions.llModPow(a, b, c); } | 1579 | public void llSetLocalRot(rotation rot) |
1580 | { | ||
1581 | m_LSL_Functions.llSetLocalRot(rot); | ||
1582 | } | ||
1583 | |||
1584 | public List<string> llParseStringKeepNulls(string src, List<string> seperators, List<string> spacers) | ||
1585 | { | ||
1586 | return m_LSL_Functions.llParseStringKeepNulls(src, seperators, spacers); | ||
1587 | } | ||
1588 | |||
1589 | public void llRezAtRoot(string inventory, vector position, vector velocity, rotation rot, int param) | ||
1590 | { | ||
1591 | m_LSL_Functions.llRezAtRoot(inventory, position, velocity, rot, param); | ||
1592 | } | ||
1593 | |||
1594 | public int llGetObjectPermMask(int mask) | ||
1595 | { | ||
1596 | return m_LSL_Functions.llGetObjectPermMask(mask); | ||
1597 | } | ||
1598 | |||
1599 | public void llSetObjectPermMask(int mask, int value) | ||
1600 | { | ||
1601 | m_LSL_Functions.llSetObjectPermMask(mask, value); | ||
1602 | } | ||
1603 | |||
1604 | public void llGetInventoryPermMask(string item, int mask) | ||
1605 | { | ||
1606 | m_LSL_Functions.llGetInventoryPermMask(item, mask); | ||
1607 | } | ||
1608 | |||
1609 | public void llSetInventoryPermMask(string item, int mask, int value) | ||
1610 | { | ||
1611 | m_LSL_Functions.llSetInventoryPermMask(item, mask, value); | ||
1612 | } | ||
1613 | |||
1614 | public string llGetInventoryCreator(string item) | ||
1615 | { | ||
1616 | return m_LSL_Functions.llGetInventoryCreator(item); | ||
1617 | } | ||
1618 | |||
1619 | public void llOwnerSay(string msg) | ||
1620 | { | ||
1621 | m_LSL_Functions.llOwnerSay(msg); | ||
1622 | } | ||
1623 | |||
1624 | public void llRequestSimulatorData(string simulator, int data) | ||
1625 | { | ||
1626 | m_LSL_Functions.llRequestSimulatorData(simulator, data); | ||
1627 | } | ||
1628 | |||
1629 | public void llForceMouselook(int mouselook) | ||
1630 | { | ||
1631 | m_LSL_Functions.llForceMouselook(mouselook); | ||
1632 | } | ||
1633 | |||
1634 | public double llGetObjectMass(string id) | ||
1635 | { | ||
1636 | return m_LSL_Functions.llGetObjectMass(id); | ||
1637 | } | ||
1638 | |||
1639 | public void llListReplaceList() | ||
1640 | { | ||
1641 | m_LSL_Functions.llListReplaceList(); | ||
1642 | } | ||
1643 | |||
1644 | public void llLoadURL(string avatar_id, string message, string url) | ||
1645 | { | ||
1646 | m_LSL_Functions.llLoadURL(avatar_id, message, url); | ||
1647 | } | ||
1648 | |||
1649 | public void llParcelMediaCommandList(List<string> commandList) | ||
1650 | { | ||
1651 | m_LSL_Functions.llParcelMediaCommandList(commandList); | ||
1652 | } | ||
1653 | |||
1654 | public void llParcelMediaQuery() | ||
1655 | { | ||
1656 | m_LSL_Functions.llParcelMediaQuery(); | ||
1657 | } | ||
1658 | |||
1659 | public int llModPow(int a, int b, int c) | ||
1660 | { | ||
1661 | return m_LSL_Functions.llModPow(a, b, c); | ||
1662 | } | ||
1663 | |||
463 | // | 1664 | // |
464 | // DO NOT MODIFY HERE: MODIFY IN LSL_BuiltIn_Commands.cs | 1665 | // DO NOT MODIFY HERE: MODIFY IN LSL_BuiltIn_Commands.cs |
465 | // | 1666 | // |
466 | public int llGetInventoryType(string name) { return m_LSL_Functions.llGetInventoryType(name); } | 1667 | public int llGetInventoryType(string name) |
467 | public void llSetPayPrice(int price, List<string> quick_pay_buttons) { m_LSL_Functions.llSetPayPrice(price, quick_pay_buttons); } | 1668 | { |
468 | public LSL_Types.Vector3 llGetCameraPos() { return m_LSL_Functions.llGetCameraPos(); } | 1669 | return m_LSL_Functions.llGetInventoryType(name); |
469 | public LSL_Types.Quaternion llGetCameraRot() { return m_LSL_Functions.llGetCameraRot(); } | 1670 | } |
470 | public void llSetPrimURL() { m_LSL_Functions.llSetPrimURL(); } | 1671 | |
471 | public void llRefreshPrimURL() { m_LSL_Functions.llRefreshPrimURL(); } | 1672 | public void llSetPayPrice(int price, List<string> quick_pay_buttons) |
472 | public string llEscapeURL(string url) { return m_LSL_Functions.llEscapeURL(url); } | 1673 | { |
473 | public string llUnescapeURL(string url) { return m_LSL_Functions.llUnescapeURL(url); } | 1674 | m_LSL_Functions.llSetPayPrice(price, quick_pay_buttons); |
474 | public void llMapDestination(string simname, LSL_Types.Vector3 pos, LSL_Types.Vector3 look_at) { m_LSL_Functions.llMapDestination(simname, pos, look_at); } | 1675 | } |
475 | public void llAddToLandBanList(string avatar, double hours) { m_LSL_Functions.llAddToLandBanList(avatar, hours); } | 1676 | |
476 | public void llRemoveFromLandPassList(string avatar) { m_LSL_Functions.llRemoveFromLandPassList(avatar); } | 1677 | public vector llGetCameraPos() |
477 | public void llRemoveFromLandBanList(string avatar) { m_LSL_Functions.llRemoveFromLandBanList(avatar); } | 1678 | { |
478 | public void llSetCameraParams(List<string> rules) { m_LSL_Functions.llSetCameraParams(rules); } | 1679 | return m_LSL_Functions.llGetCameraPos(); |
479 | public void llClearCameraParams() { m_LSL_Functions.llClearCameraParams(); } | 1680 | } |
480 | public double llListStatistics(int operation, List<string> src) { return m_LSL_Functions.llListStatistics(operation, src); } | 1681 | |
481 | public int llGetUnixTime() { return m_LSL_Functions.llGetUnixTime(); } | 1682 | public rotation llGetCameraRot() |
482 | public int llGetParcelFlags(LSL_Types.Vector3 pos) { return m_LSL_Functions.llGetParcelFlags(pos); } | 1683 | { |
483 | public int llGetRegionFlags() { return m_LSL_Functions.llGetRegionFlags(); } | 1684 | return m_LSL_Functions.llGetCameraRot(); |
484 | public string llXorBase64StringsCorrect(string str1, string str2) { return m_LSL_Functions.llXorBase64StringsCorrect(str1, str2); } | 1685 | } |
485 | public void llHTTPRequest(string url, List<string> parameters, string body) { m_LSL_Functions.llHTTPRequest(url, parameters, body); } | 1686 | |
486 | public void llResetLandBanList() { m_LSL_Functions.llResetLandBanList(); } | 1687 | public void llSetPrimURL() |
487 | public void llResetLandPassList() { m_LSL_Functions.llResetLandPassList(); } | 1688 | { |
488 | public int llGetParcelPrimCount(LSL_Types.Vector3 pos, int category, int sim_wide) { return m_LSL_Functions.llGetParcelPrimCount(pos, category, sim_wide); } | 1689 | m_LSL_Functions.llSetPrimURL(); |
489 | public List<string> llGetParcelPrimOwners(LSL_Types.Vector3 pos) { return m_LSL_Functions.llGetParcelPrimOwners(pos); } | 1690 | } |
490 | public int llGetObjectPrimCount(string object_id) { return m_LSL_Functions.llGetObjectPrimCount(object_id); } | 1691 | |
1692 | public void llRefreshPrimURL() | ||
1693 | { | ||
1694 | m_LSL_Functions.llRefreshPrimURL(); | ||
1695 | } | ||
1696 | |||
1697 | public string llEscapeURL(string url) | ||
1698 | { | ||
1699 | return m_LSL_Functions.llEscapeURL(url); | ||
1700 | } | ||
1701 | |||
1702 | public string llUnescapeURL(string url) | ||
1703 | { | ||
1704 | return m_LSL_Functions.llUnescapeURL(url); | ||
1705 | } | ||
1706 | |||
1707 | public void llMapDestination(string simname, vector pos, vector look_at) | ||
1708 | { | ||
1709 | m_LSL_Functions.llMapDestination(simname, pos, look_at); | ||
1710 | } | ||
1711 | |||
1712 | public void llAddToLandBanList(string avatar, double hours) | ||
1713 | { | ||
1714 | m_LSL_Functions.llAddToLandBanList(avatar, hours); | ||
1715 | } | ||
1716 | |||
1717 | public void llRemoveFromLandPassList(string avatar) | ||
1718 | { | ||
1719 | m_LSL_Functions.llRemoveFromLandPassList(avatar); | ||
1720 | } | ||
1721 | |||
1722 | public void llRemoveFromLandBanList(string avatar) | ||
1723 | { | ||
1724 | m_LSL_Functions.llRemoveFromLandBanList(avatar); | ||
1725 | } | ||
1726 | |||
1727 | public void llSetCameraParams(List<string> rules) | ||
1728 | { | ||
1729 | m_LSL_Functions.llSetCameraParams(rules); | ||
1730 | } | ||
1731 | |||
1732 | public void llClearCameraParams() | ||
1733 | { | ||
1734 | m_LSL_Functions.llClearCameraParams(); | ||
1735 | } | ||
1736 | |||
1737 | public double llListStatistics(int operation, List<string> src) | ||
1738 | { | ||
1739 | return m_LSL_Functions.llListStatistics(operation, src); | ||
1740 | } | ||
1741 | |||
1742 | public int llGetUnixTime() | ||
1743 | { | ||
1744 | return m_LSL_Functions.llGetUnixTime(); | ||
1745 | } | ||
1746 | |||
1747 | public int llGetParcelFlags(vector pos) | ||
1748 | { | ||
1749 | return m_LSL_Functions.llGetParcelFlags(pos); | ||
1750 | } | ||
1751 | |||
1752 | public int llGetRegionFlags() | ||
1753 | { | ||
1754 | return m_LSL_Functions.llGetRegionFlags(); | ||
1755 | } | ||
1756 | |||
1757 | public string llXorBase64StringsCorrect(string str1, string str2) | ||
1758 | { | ||
1759 | return m_LSL_Functions.llXorBase64StringsCorrect(str1, str2); | ||
1760 | } | ||
1761 | |||
1762 | public void llHTTPRequest(string url, List<string> parameters, string body) | ||
1763 | { | ||
1764 | m_LSL_Functions.llHTTPRequest(url, parameters, body); | ||
1765 | } | ||
1766 | |||
1767 | public void llResetLandBanList() | ||
1768 | { | ||
1769 | m_LSL_Functions.llResetLandBanList(); | ||
1770 | } | ||
1771 | |||
1772 | public void llResetLandPassList() | ||
1773 | { | ||
1774 | m_LSL_Functions.llResetLandPassList(); | ||
1775 | } | ||
1776 | |||
1777 | public int llGetParcelPrimCount(vector pos, int category, int sim_wide) | ||
1778 | { | ||
1779 | return m_LSL_Functions.llGetParcelPrimCount(pos, category, sim_wide); | ||
1780 | } | ||
1781 | |||
1782 | public List<string> llGetParcelPrimOwners(vector pos) | ||
1783 | { | ||
1784 | return m_LSL_Functions.llGetParcelPrimOwners(pos); | ||
1785 | } | ||
1786 | |||
1787 | public int llGetObjectPrimCount(string object_id) | ||
1788 | { | ||
1789 | return m_LSL_Functions.llGetObjectPrimCount(object_id); | ||
1790 | } | ||
1791 | |||
491 | // | 1792 | // |
492 | // DO NOT MODIFY HERE: MODIFY IN LSL_BuiltIn_Commands.cs | 1793 | // DO NOT MODIFY HERE: MODIFY IN LSL_BuiltIn_Commands.cs |
493 | // | 1794 | // |
494 | public int llGetParcelMaxPrims(LSL_Types.Vector3 pos, int sim_wide) { return m_LSL_Functions.llGetParcelMaxPrims(pos, sim_wide); } | 1795 | public int llGetParcelMaxPrims(vector pos, int sim_wide) |
495 | public List<string> llGetParcelDetails(LSL_Types.Vector3 pos, List<string> param) { return m_LSL_Functions.llGetParcelDetails(pos, param); } | 1796 | { |
1797 | return m_LSL_Functions.llGetParcelMaxPrims(pos, sim_wide); | ||
1798 | } | ||
1799 | |||
1800 | public List<string> llGetParcelDetails(vector pos, List<string> param) | ||
1801 | { | ||
1802 | return m_LSL_Functions.llGetParcelDetails(pos, param); | ||
1803 | } | ||
496 | 1804 | ||
497 | // | 1805 | // |
498 | // OpenSim Functions | 1806 | // OpenSim Functions |
499 | // | 1807 | // |
500 | public string osSetDynamicTextureURL(string dynamicID, string contentType, string url, string extraParams, int timer) { return m_LSL_Functions.osSetDynamicTextureURL(dynamicID, contentType, url, extraParams, timer); } | 1808 | public string osSetDynamicTextureURL(string dynamicID, string contentType, string url, string extraParams, |
1809 | int timer) | ||
1810 | { | ||
1811 | return m_LSL_Functions.osSetDynamicTextureURL(dynamicID, contentType, url, extraParams, timer); | ||
1812 | } | ||
501 | 1813 | ||
502 | // LSL CONSTANTS | 1814 | // LSL CONSTANTS |
503 | public const int TRUE = 1; | 1815 | public const int TRUE = 1; |
@@ -803,10 +2115,7 @@ namespace OpenSim.Grid.ScriptEngine.DotNetEngine.Compiler.LSL | |||
803 | public const double SQRT2 = 1.414213538f; | 2115 | public const double SQRT2 = 1.414213538f; |
804 | 2116 | ||
805 | // Can not be public const? | 2117 | // Can not be public const? |
806 | public LSL_Types.Vector3 ZERO_VECTOR = new LSL_Types.Vector3(0, 0, 0); | 2118 | public vector ZERO_VECTOR = new vector(0, 0, 0); |
807 | public LSL_Types.Quaternion ZERO_ROTATION = new LSL_Types.Quaternion(0, 0, 0, 0); | 2119 | public rotation ZERO_ROTATION = new rotation(0, 0, 0, 0); |
808 | |||
809 | |||
810 | |||
811 | } | 2120 | } |
812 | } | 2121 | } \ No newline at end of file |