aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Common/ScriptBaseClass.cs
diff options
context:
space:
mode:
authorMelanie Thielker2008-09-23 21:23:23 +0000
committerMelanie Thielker2008-09-23 21:23:23 +0000
commit48da2c24a2f7ed4fb8d630bf1a85cca84f129a75 (patch)
tree547587eb88459868e1d8195bc53c4439b2ead234 /OpenSim/Region/ScriptEngine/Common/ScriptBaseClass.cs
parentcreate the first attempted mysql test. This only runs locally if you (diff)
downloadopensim-SC_OLD-48da2c24a2f7ed4fb8d630bf1a85cca84f129a75.zip
opensim-SC_OLD-48da2c24a2f7ed4fb8d630bf1a85cca84f129a75.tar.gz
opensim-SC_OLD-48da2c24a2f7ed4fb8d630bf1a85cca84f129a75.tar.bz2
opensim-SC_OLD-48da2c24a2f7ed4fb8d630bf1a85cca84f129a75.tar.xz
Add the missing file
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Common/ScriptBaseClass.cs')
-rw-r--r--OpenSim/Region/ScriptEngine/Common/ScriptBaseClass.cs2495
1 files changed, 2495 insertions, 0 deletions
diff --git a/OpenSim/Region/ScriptEngine/Common/ScriptBaseClass.cs b/OpenSim/Region/ScriptEngine/Common/ScriptBaseClass.cs
new file mode 100644
index 0000000..3e8450d
--- /dev/null
+++ b/OpenSim/Region/ScriptEngine/Common/ScriptBaseClass.cs
@@ -0,0 +1,2495 @@
1/*
2 * Copyright (c) Contributors, http://opensimulator.org/
3 * See CONTRIBUTORS.TXT for a full list of copyright holders.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are met:
7 * * Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer.
9 * * Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the
11 * documentation and/or other materials provided with the distribution.
12 * * Neither the name of the OpenSim Project nor the
13 * names of its contributors may be used to endorse or promote products
14 * derived from this software without specific prior written permission.
15 *
16 * THIS SOFTWARE IS PROVIDED BY THE DEVELOPERS ``AS IS'' AND ANY
17 * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
18 * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
19 * DISCLAIMED. IN NO EVENT SHALL THE CONTRIBUTORS BE LIABLE FOR ANY
20 * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
21 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
22 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
23 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
24 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
25 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26 */
27
28using System;
29using System.Runtime.Remoting.Lifetime;
30using System.Threading;
31using OpenSim.Region.Environment.Interfaces;
32using OpenSim.Region.ScriptEngine.Common.ScriptEngineBase;
33
34using LSL_Float = OpenSim.Region.ScriptEngine.Shared.LSL_Types.LSLFloat;
35using LSL_Integer = OpenSim.Region.ScriptEngine.Shared.LSL_Types.LSLInteger;
36using LSL_Key = OpenSim.Region.ScriptEngine.Shared.LSL_Types.LSLString;
37using LSL_List = OpenSim.Region.ScriptEngine.Shared.LSL_Types.list;
38using LSL_Rotation = OpenSim.Region.ScriptEngine.Shared.LSL_Types.Quaternion;
39using LSL_String = OpenSim.Region.ScriptEngine.Shared.LSL_Types.LSLString;
40using LSL_Vector = OpenSim.Region.ScriptEngine.Shared.LSL_Types.Vector3;
41
42namespace OpenSim.Region.ScriptEngine.Common
43{
44 public class ScriptBaseClass : MarshalByRefObject, LSL_BuiltIn_Commands_Interface, OSSL_BuilIn_Commands_Interface, IScript
45 {
46 //
47 // Included as base for any LSL-script that is compiled.
48 // Any function added here will be accessible to the LSL script. But it must also be added to "LSL_BuiltIn_Commands_Interface" in "OpenSim.Region.ScriptEngine.Common" class.
49 //
50 // Security note: This script will be running inside an restricted AppDomain. Currently AppDomain is not very restricted.
51 //
52
53 //private static readonly log4net.ILog m_log = log4net.LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
54
55 // Object never expires
56 public override Object InitializeLifetimeService()
57 {
58 //Console.WriteLine("LSL_BaseClass: InitializeLifetimeService()");
59 // return null;
60 ILease lease = (ILease)base.InitializeLifetimeService();
61
62 if (lease.CurrentState == LeaseState.Initial)
63 {
64 lease.InitialLeaseTime = TimeSpan.Zero; // TimeSpan.FromMinutes(1);
65 //lease.SponsorshipTimeout = TimeSpan.FromMinutes(2);
66 //lease.RenewOnCallTime = TimeSpan.FromSeconds(2);
67 }
68 return lease;
69 }
70
71 public EventQueueManager.Queue_llDetectParams_Struct _llDetectParams;
72 EventQueueManager.Queue_llDetectParams_Struct IScript.llDetectParams
73 {
74 get { return _llDetectParams; }
75 set { _llDetectParams = value; }
76 }
77
78 private Executor m_Exec;
79
80 ExecutorBase IScript.Exec
81 {
82 get
83 {
84 if (m_Exec == null)
85 m_Exec = new Executor(this);
86 return m_Exec;
87 }
88 }
89
90
91 public BuilIn_Commands m_LSL_Functions;
92 private string _Source = String.Empty;
93 public string Source
94 {
95 get
96 {
97 return _Source;
98 }
99 set { _Source = value; }
100 }
101
102 private int m_StartParam = 0;
103 public int StartParam
104 {
105 get { return m_StartParam; }
106 set { m_StartParam = value; }
107 }
108
109 public ScriptBaseClass()
110 {
111 }
112
113 public string State
114 {
115 get { return m_LSL_Functions.State; }
116 set { m_LSL_Functions.State = value; }
117 }
118 public void state(string state)
119 {
120 State = state;
121
122 }
123
124 public void Start(BuilIn_Commands LSL_Functions)
125 {
126 m_LSL_Functions = LSL_Functions;
127
128 //m_log.Info(ScriptEngineName, "LSL_BaseClass.Start() called.");
129
130 // Get this AppDomain's settings and display some of them.
131 // AppDomainSetup ads = AppDomain.CurrentDomain.SetupInformation;
132 // Console.WriteLine("AppName={0}, AppBase={1}, ConfigFile={2}",
133 // ads.ApplicationName,
134 // ads.ApplicationBase,
135 // ads.ConfigurationFile
136 // );
137
138 // Display the name of the calling AppDomain and the name
139 // of the second domain.
140 // NOTE: The application's thread has transitioned between
141 // AppDomains.
142 // Console.WriteLine("Calling to '{0}'.",
143 // Thread.GetDomain().FriendlyName
144 // );
145
146 return;
147 }
148
149
150
151 public OSSL_BuilIn_Commands.OSSLPrim Prim {
152 get { return m_LSL_Functions.Prim; }
153 }
154
155
156 //
157 // DO NOT MODIFY HERE: MODIFY IN LSL_BuiltIn_Commands.cs
158 //
159 // They are only forwarders to LSL_BuiltIn_Commands.cs
160 //
161
162 public ICommander GetCommander(string name)
163 {
164 return m_LSL_Functions.GetCommander(name);
165 }
166
167 public LSL_Integer llAbs(int i)
168 {
169 return m_LSL_Functions.llAbs(i);
170 }
171
172 public LSL_Float llAcos(double val)
173 {
174 return m_LSL_Functions.llAcos(val);
175 }
176
177 public void llAddToLandBanList(string avatar, double hours)
178 {
179 m_LSL_Functions.llAddToLandBanList(avatar, hours);
180 }
181
182 public void llAddToLandPassList(string avatar, double hours)
183 {
184 m_LSL_Functions.llAddToLandPassList(avatar, hours);
185 }
186
187 public void llAdjustSoundVolume(double volume)
188 {
189 m_LSL_Functions.llAdjustSoundVolume(volume);
190 }
191
192 public void llAllowInventoryDrop(int add)
193 {
194 m_LSL_Functions.llAllowInventoryDrop(add);
195 }
196
197 public LSL_Float llAngleBetween(LSL_Rotation a, LSL_Rotation b)
198 {
199 return m_LSL_Functions.llAngleBetween(a, b);
200 }
201
202 public void llApplyImpulse(LSL_Vector force, int local)
203 {
204 m_LSL_Functions.llApplyImpulse(force, local);
205 }
206
207 public void llApplyRotationalImpulse(LSL_Vector force, int local)
208 {
209 m_LSL_Functions.llApplyRotationalImpulse(force, local);
210 }
211
212 public LSL_Float llAsin(double val)
213 {
214 return m_LSL_Functions.llAsin(val);
215 }
216
217 public LSL_Float llAtan2(double x, double y)
218 {
219 return m_LSL_Functions.llAtan2(x, y);
220 }
221
222 public void llAttachToAvatar(int attachment)
223 {
224 m_LSL_Functions.llAttachToAvatar(attachment);
225 }
226
227 public LSL_Key llAvatarOnSitTarget()
228 {
229 return m_LSL_Functions.llAvatarOnSitTarget();
230 }
231
232 public LSL_Rotation llAxes2Rot(LSL_Vector fwd, LSL_Vector left, LSL_Vector up)
233 {
234 return m_LSL_Functions.llAxes2Rot(fwd, left, up);
235 }
236
237 public LSL_Rotation llAxisAngle2Rot(LSL_Vector axis, double angle)
238 {
239 return m_LSL_Functions.llAxisAngle2Rot(axis, angle);
240 }
241
242 public LSL_Integer llBase64ToInteger(string str)
243 {
244 return m_LSL_Functions.llBase64ToInteger(str);
245 }
246
247 public LSL_String llBase64ToString(string str)
248 {
249 return m_LSL_Functions.llBase64ToString(str);
250 }
251
252 public void llBreakAllLinks()
253 {
254 m_LSL_Functions.llBreakAllLinks();
255 }
256
257 public void llBreakLink(int linknum)
258 {
259 m_LSL_Functions.llBreakLink(linknum);
260 }
261
262 public LSL_Integer llCeil(double f)
263 {
264 return m_LSL_Functions.llCeil(f);
265 }
266
267 public void llClearCameraParams()
268 {
269 m_LSL_Functions.llClearCameraParams();
270 }
271
272 public void llCloseRemoteDataChannel(string channel)
273 {
274 m_LSL_Functions.llCloseRemoteDataChannel(channel);
275 }
276
277 public LSL_Float llCloud(LSL_Vector offset)
278 {
279 return m_LSL_Functions.llCloud(offset);
280 }
281
282 public void llCollisionFilter(string name, string id, int accept)
283 {
284 m_LSL_Functions.llCollisionFilter(name, id, accept);
285 }
286
287 public void llCollisionSound(string impact_sound, double impact_volume)
288 {
289 m_LSL_Functions.llCollisionSound(impact_sound, impact_volume);
290 }
291
292 public void llCollisionSprite(string impact_sprite)
293 {
294 m_LSL_Functions.llCollisionSprite(impact_sprite);
295 }
296
297 public LSL_Float llCos(double f)
298 {
299 return m_LSL_Functions.llCos(f);
300 }
301
302 public void llCreateLink(string target, int parent)
303 {
304 m_LSL_Functions.llCreateLink(target, parent);
305 }
306
307 public LSL_List llCSV2List(string src)
308 {
309 return m_LSL_Functions.llCSV2List(src);
310 }
311
312 public LSL_List llDeleteSubList(LSL_List src, int start, int end)
313 {
314 return m_LSL_Functions.llDeleteSubList(src, start, end);
315 }
316
317 public LSL_String llDeleteSubString(string src, int start, int end)
318 {
319 return m_LSL_Functions.llDeleteSubString(src, start, end);
320 }
321
322 public void llDetachFromAvatar()
323 {
324 m_LSL_Functions.llDetachFromAvatar();
325 }
326
327 public LSL_Vector llDetectedGrab(int number)
328 {
329 return m_LSL_Functions.llDetectedGrab(number);
330 }
331
332 public LSL_Integer llDetectedGroup(int number)
333 {
334 return m_LSL_Functions.llDetectedGroup(number);
335 }
336
337 public LSL_Key llDetectedKey(int number)
338 {
339 return m_LSL_Functions.llDetectedKey(number);
340 }
341
342 public LSL_Integer llDetectedLinkNumber(int number)
343 {
344 return m_LSL_Functions.llDetectedLinkNumber(number);
345 }
346
347 public LSL_String llDetectedName(int number)
348 {
349 return m_LSL_Functions.llDetectedName(number);
350 }
351
352 public LSL_Key llDetectedOwner(int number)
353 {
354 return m_LSL_Functions.llDetectedOwner(number);
355 }
356
357 public LSL_Vector llDetectedPos(int number)
358 {
359 return m_LSL_Functions.llDetectedPos(number);
360 }
361
362 public LSL_Rotation llDetectedRot(int number)
363 {
364 return m_LSL_Functions.llDetectedRot(number);
365 }
366
367 public LSL_Integer llDetectedType(int number)
368 {
369 return m_LSL_Functions.llDetectedType(number);
370 }
371
372 public LSL_Vector llDetectedTouchBinormal(int index)
373 {
374 return m_LSL_Functions.llDetectedTouchBinormal(index);
375 }
376
377 public LSL_Integer llDetectedTouchFace(int index)
378 {
379 return m_LSL_Functions.llDetectedTouchFace(index);
380 }
381
382 public LSL_Vector llDetectedTouchNormal(int index)
383 {
384 return m_LSL_Functions.llDetectedTouchNormal(index);
385 }
386
387 public LSL_Vector llDetectedTouchPos(int index)
388 {
389 return m_LSL_Functions.llDetectedTouchPos(index);
390 }
391
392 public LSL_Vector llDetectedTouchST(int index)
393 {
394 return m_LSL_Functions.llDetectedTouchST(index);
395 }
396
397 public LSL_Vector llDetectedTouchUV(int index)
398 {
399 return m_LSL_Functions.llDetectedTouchUV(index);
400 }
401
402 public LSL_Vector llDetectedVel(int number)
403 {
404 return m_LSL_Functions.llDetectedVel(number);
405 }
406
407 public void llDialog(string avatar, string message, LSL_List buttons, int chat_channel)
408 {
409 m_LSL_Functions.llDialog(avatar, message, buttons, chat_channel);
410 }
411
412 public void llDie()
413 {
414 m_LSL_Functions.llDie();
415 }
416
417 public LSL_String llDumpList2String(LSL_List src, string seperator)
418 {
419 return m_LSL_Functions.llDumpList2String(src, seperator);
420 }
421
422 public LSL_Integer llEdgeOfWorld(LSL_Vector pos, LSL_Vector dir)
423 {
424 return m_LSL_Functions.llEdgeOfWorld(pos, dir);
425 }
426
427 public void llEjectFromLand(string pest)
428 {
429 m_LSL_Functions.llEjectFromLand(pest);
430 }
431
432 public void llEmail(string address, string subject, string message)
433 {
434 m_LSL_Functions.llEmail(address, subject, message);
435 }
436
437 public LSL_String llEscapeURL(string url)
438 {
439 return m_LSL_Functions.llEscapeURL(url);
440 }
441
442 public LSL_Rotation llEuler2Rot(LSL_Vector v)
443 {
444 return m_LSL_Functions.llEuler2Rot(v);
445 }
446
447 public LSL_Float llFabs(double f)
448 {
449 return m_LSL_Functions.llFabs(f);
450 }
451
452 public LSL_Integer llFloor(double f)
453 {
454 return m_LSL_Functions.llFloor(f);
455 }
456
457 public void llForceMouselook(int mouselook)
458 {
459 m_LSL_Functions.llForceMouselook(mouselook);
460 }
461
462 public LSL_Float llFrand(double mag)
463 {
464 return m_LSL_Functions.llFrand(mag);
465 }
466
467 public LSL_Vector llGetAccel()
468 {
469 return m_LSL_Functions.llGetAccel();
470 }
471
472 public LSL_Integer llGetAgentInfo(string id)
473 {
474 return m_LSL_Functions.llGetAgentInfo(id);
475 }
476
477 public LSL_Vector llGetAgentSize(string id)
478 {
479 return m_LSL_Functions.llGetAgentSize(id);
480 }
481
482 public LSL_Float llGetAlpha(int face)
483 {
484 return m_LSL_Functions.llGetAlpha(face);
485 }
486
487 public LSL_Float llGetAndResetTime()
488 {
489 return m_LSL_Functions.llGetAndResetTime();
490 }
491
492 public LSL_String llGetAnimation(string id)
493 {
494 return m_LSL_Functions.llGetAnimation(id);
495 }
496
497 public LSL_List llGetAnimationList(string id)
498 {
499 return m_LSL_Functions.llGetAnimationList(id);
500 }
501
502 public LSL_Integer llGetAttached()
503 {
504 return m_LSL_Functions.llGetAttached();
505 }
506
507 public LSL_List llGetBoundingBox(string obj)
508 {
509 return m_LSL_Functions.llGetBoundingBox(obj);
510 }
511
512 public LSL_Vector llGetCameraPos()
513 {
514 return m_LSL_Functions.llGetCameraPos();
515 }
516
517 public LSL_Rotation llGetCameraRot()
518 {
519 return m_LSL_Functions.llGetCameraRot();
520 }
521
522 public LSL_Vector llGetCenterOfMass()
523 {
524 return m_LSL_Functions.llGetCenterOfMass();
525 }
526
527 public LSL_Vector llGetColor(int face)
528 {
529 return m_LSL_Functions.llGetColor(face);
530 }
531
532 public LSL_String llGetCreator()
533 {
534 return m_LSL_Functions.llGetCreator();
535 }
536
537 public LSL_String llGetDate()
538 {
539 return m_LSL_Functions.llGetDate();
540 }
541
542 public LSL_Float llGetEnergy()
543 {
544 return m_LSL_Functions.llGetEnergy();
545 }
546
547 public LSL_Vector llGetForce()
548 {
549 return m_LSL_Functions.llGetForce();
550 }
551
552 public LSL_Integer llGetFreeMemory()
553 {
554 return m_LSL_Functions.llGetFreeMemory();
555 }
556
557 public LSL_Vector llGetGeometricCenter()
558 {
559 return m_LSL_Functions.llGetGeometricCenter();
560 }
561
562 public LSL_Float llGetGMTclock()
563 {
564 return m_LSL_Functions.llGetGMTclock();
565 }
566
567 public LSL_Key llGetInventoryCreator(string item)
568 {
569 return m_LSL_Functions.llGetInventoryCreator(item);
570 }
571
572 public LSL_Key llGetInventoryKey(string name)
573 {
574 return m_LSL_Functions.llGetInventoryKey(name);
575 }
576
577 public LSL_String llGetInventoryName(int type, int number)
578 {
579 return m_LSL_Functions.llGetInventoryName(type, number);
580 }
581
582 public LSL_Integer llGetInventoryNumber(int type)
583 {
584 return m_LSL_Functions.llGetInventoryNumber(type);
585 }
586
587 public LSL_Integer llGetInventoryPermMask(string item, int mask)
588 {
589 return m_LSL_Functions.llGetInventoryPermMask(item, mask);
590 }
591
592 public LSL_Integer llGetInventoryType(string name)
593 {
594 return m_LSL_Functions.llGetInventoryType(name);
595 }
596
597 public LSL_Key llGetKey()
598 {
599 return m_LSL_Functions.llGetKey();
600 }
601
602 public LSL_Key llGetLandOwnerAt(LSL_Vector pos)
603 {
604 return m_LSL_Functions.llGetLandOwnerAt(pos);
605 }
606
607 public LSL_Key llGetLinkKey(int linknum)
608 {
609 return m_LSL_Functions.llGetLinkKey(linknum);
610 }
611
612 public LSL_String llGetLinkName(int linknum)
613 {
614 return m_LSL_Functions.llGetLinkName(linknum);
615 }
616
617 public LSL_Integer llGetLinkNumber()
618 {
619 return m_LSL_Functions.llGetLinkNumber();
620 }
621
622 public LSL_Integer llGetListEntryType(LSL_List src, int index)
623 {
624 return m_LSL_Functions.llGetListEntryType(src, index);
625 }
626
627 public LSL_Integer llGetListLength(LSL_List src)
628 {
629 return m_LSL_Functions.llGetListLength(src);
630 }
631
632 public LSL_Vector llGetLocalPos()
633 {
634 return m_LSL_Functions.llGetLocalPos();
635 }
636
637 public LSL_Rotation llGetLocalRot()
638 {
639 return m_LSL_Functions.llGetLocalRot();
640 }
641
642 public LSL_Float llGetMass()
643 {
644 return m_LSL_Functions.llGetMass();
645 }
646
647 public void llGetNextEmail(string address, string subject)
648 {
649 m_LSL_Functions.llGetNextEmail(address, subject);
650 }
651
652 public LSL_String llGetNotecardLine(string name, int line)
653 {
654 return m_LSL_Functions.llGetNotecardLine(name, line);
655 }
656
657 public LSL_Key llGetNumberOfNotecardLines(string name)
658 {
659 return m_LSL_Functions.llGetNumberOfNotecardLines(name);
660 }
661
662 public LSL_Integer llGetNumberOfPrims()
663 {
664 return m_LSL_Functions.llGetNumberOfPrims();
665 }
666
667 public LSL_Integer llGetNumberOfSides()
668 {
669 return m_LSL_Functions.llGetNumberOfSides();
670 }
671
672 public LSL_String llGetObjectDesc()
673 {
674 return m_LSL_Functions.llGetObjectDesc();
675 }
676
677 public LSL_List llGetObjectDetails(string id, LSL_List args)
678 {
679 return m_LSL_Functions.llGetObjectDetails(id, args);
680 }
681
682 public LSL_Float llGetObjectMass(string id)
683 {
684 return m_LSL_Functions.llGetObjectMass(id);
685 }
686
687 public LSL_String llGetObjectName()
688 {
689 return m_LSL_Functions.llGetObjectName();
690 }
691
692 public LSL_Integer llGetObjectPermMask(int mask)
693 {
694 return m_LSL_Functions.llGetObjectPermMask(mask);
695 }
696
697 public LSL_Integer llGetObjectPrimCount(string object_id)
698 {
699 return m_LSL_Functions.llGetObjectPrimCount(object_id);
700 }
701
702 public LSL_Vector llGetOmega()
703 {
704 return m_LSL_Functions.llGetOmega();
705 }
706
707 public LSL_Key llGetOwner()
708 {
709 return m_LSL_Functions.llGetOwner();
710 }
711
712 public LSL_Key llGetOwnerKey(string id)
713 {
714 return m_LSL_Functions.llGetOwnerKey(id);
715 }
716
717 public LSL_List llGetParcelDetails(LSL_Vector pos, LSL_List param)
718 {
719 return m_LSL_Functions.llGetParcelDetails(pos, param);
720 }
721
722 public LSL_Integer llGetParcelFlags(LSL_Vector pos)
723 {
724 return m_LSL_Functions.llGetParcelFlags(pos);
725 }
726
727 public LSL_Integer llGetParcelMaxPrims(LSL_Vector pos, int sim_wide)
728 {
729 return m_LSL_Functions.llGetParcelMaxPrims(pos, sim_wide);
730 }
731
732 public LSL_Integer llGetParcelPrimCount(LSL_Vector pos, int category, int sim_wide)
733 {
734 return m_LSL_Functions.llGetParcelPrimCount(pos, category, sim_wide);
735 }
736
737 public LSL_List llGetParcelPrimOwners(LSL_Vector pos)
738 {
739 return m_LSL_Functions.llGetParcelPrimOwners(pos);
740 }
741
742 public LSL_Integer llGetPermissions()
743 {
744 return m_LSL_Functions.llGetPermissions();
745 }
746
747 public LSL_Key llGetPermissionsKey()
748 {
749 return m_LSL_Functions.llGetPermissionsKey();
750 }
751
752 public LSL_Vector llGetPos()
753 {
754 return m_LSL_Functions.llGetPos();
755 }
756
757 public LSL_List llGetPrimitiveParams(LSL_List rules)
758 {
759 return m_LSL_Functions.llGetPrimitiveParams(rules);
760 }
761
762 public LSL_Integer llGetRegionAgentCount()
763 {
764 return m_LSL_Functions.llGetRegionAgentCount();
765 }
766
767 public LSL_Vector llGetRegionCorner()
768 {
769 return m_LSL_Functions.llGetRegionCorner();
770 }
771
772 public LSL_Integer llGetRegionFlags()
773 {
774 return m_LSL_Functions.llGetRegionFlags();
775 }
776
777 public LSL_Float llGetRegionFPS()
778 {
779 return m_LSL_Functions.llGetRegionFPS();
780 }
781
782 public LSL_String llGetRegionName()
783 {
784 return m_LSL_Functions.llGetRegionName();
785 }
786
787 public LSL_Float llGetRegionTimeDilation()
788 {
789 return m_LSL_Functions.llGetRegionTimeDilation();
790 }
791
792 public LSL_Vector llGetRootPosition()
793 {
794 return m_LSL_Functions.llGetRootPosition();
795 }
796
797 public LSL_Rotation llGetRootRotation()
798 {
799 return m_LSL_Functions.llGetRootRotation();
800 }
801
802 public LSL_Rotation llGetRot()
803 {
804 return m_LSL_Functions.llGetRot();
805 }
806
807 public LSL_Vector llGetScale()
808 {
809 return m_LSL_Functions.llGetScale();
810 }
811
812 public LSL_String llGetScriptName()
813 {
814 return m_LSL_Functions.llGetScriptName();
815 }
816
817 public LSL_Integer llGetScriptState(string name)
818 {
819 return m_LSL_Functions.llGetScriptState(name);
820 }
821
822 public LSL_String llGetSimulatorHostname()
823 {
824 return m_LSL_Functions.llGetSimulatorHostname();
825 }
826
827 public LSL_Integer llGetStartParameter()
828 {
829 return m_LSL_Functions.llGetStartParameter();
830 }
831
832 public LSL_Integer llGetStatus(int status)
833 {
834 return m_LSL_Functions.llGetStatus(status);
835 }
836
837 public LSL_String llGetSubString(string src, int start, int end)
838 {
839 return m_LSL_Functions.llGetSubString(src, start, end);
840 }
841
842 public LSL_Vector llGetSunDirection()
843 {
844 return m_LSL_Functions.llGetSunDirection();
845 }
846
847 public LSL_String llGetTexture(int face)
848 {
849 return m_LSL_Functions.llGetTexture(face);
850 }
851
852 public LSL_Vector llGetTextureOffset(int face)
853 {
854 return m_LSL_Functions.llGetTextureOffset(face);
855 }
856
857 public LSL_Float llGetTextureRot(int side)
858 {
859 return m_LSL_Functions.llGetTextureRot(side);
860 }
861
862 public LSL_Vector llGetTextureScale(int side)
863 {
864 return m_LSL_Functions.llGetTextureScale(side);
865 }
866
867 public LSL_Float llGetTime()
868 {
869 return m_LSL_Functions.llGetTime();
870 }
871
872 public LSL_Float llGetTimeOfDay()
873 {
874 return m_LSL_Functions.llGetTimeOfDay();
875 }
876
877 public LSL_String llGetTimestamp()
878 {
879 return m_LSL_Functions.llGetTimestamp();
880 }
881
882 public LSL_Vector llGetTorque()
883 {
884 return m_LSL_Functions.llGetTorque();
885 }
886
887 public LSL_Integer llGetUnixTime()
888 {
889 return m_LSL_Functions.llGetUnixTime();
890 }
891
892 public LSL_Vector llGetVel()
893 {
894 return m_LSL_Functions.llGetVel();
895 }
896
897 public LSL_Float llGetWallclock()
898 {
899 return m_LSL_Functions.llGetWallclock();
900 }
901
902 public void llGiveInventory(string destination, string inventory)
903 {
904 m_LSL_Functions.llGiveInventory(destination, inventory);
905 }
906
907 public void llGiveInventoryList(string destination, string category, LSL_List inventory)
908 {
909 m_LSL_Functions.llGiveInventoryList(destination, category, inventory);
910 }
911
912 public LSL_Integer llGiveMoney(string destination, int amount)
913 {
914 return m_LSL_Functions.llGiveMoney(destination, amount);
915 }
916
917 public void llGodLikeRezObject(string inventory, LSL_Vector pos)
918 {
919 m_LSL_Functions.llGodLikeRezObject(inventory, pos);
920 }
921
922 public LSL_Float llGround(LSL_Vector offset)
923 {
924 return m_LSL_Functions.llGround(offset);
925 }
926
927 public LSL_Vector llGroundContour(LSL_Vector offset)
928 {
929 return m_LSL_Functions.llGroundContour(offset);
930 }
931
932 public LSL_Vector llGroundNormal(LSL_Vector offset)
933 {
934 return m_LSL_Functions.llGroundNormal(offset);
935 }
936
937 public void llGroundRepel(double height, int water, double tau)
938 {
939 m_LSL_Functions.llGroundRepel(height, water, tau);
940 }
941
942 public LSL_Vector llGroundSlope(LSL_Vector offset)
943 {
944 return m_LSL_Functions.llGroundSlope(offset);
945 }
946
947 public LSL_String llHTTPRequest(string url, LSL_List parameters, string body)
948 {
949 return m_LSL_Functions.llHTTPRequest(url, parameters, body);
950 }
951
952 public LSL_String llInsertString(string dst, int position, string src)
953 {
954 return m_LSL_Functions.llInsertString(dst, position, src);
955 }
956
957 public void llInstantMessage(string user, string message)
958 {
959 m_LSL_Functions.llInstantMessage(user, message);
960 }
961
962 public LSL_String llIntegerToBase64(int number)
963 {
964 return m_LSL_Functions.llIntegerToBase64(number);
965 }
966
967 public LSL_String llKey2Name(string id)
968 {
969 return m_LSL_Functions.llKey2Name(id);
970 }
971
972 public LSL_String llList2CSV(LSL_List src)
973 {
974 return m_LSL_Functions.llList2CSV(src);
975 }
976
977 public LSL_Float llList2Float(LSL_List src, int index)
978 {
979 return m_LSL_Functions.llList2Float(src, index);
980 }
981
982 public LSL_Integer llList2Integer(LSL_List src, int index)
983 {
984 return m_LSL_Functions.llList2Integer(src, index);
985 }
986
987 public LSL_Key llList2Key(LSL_List src, int index)
988 {
989 return m_LSL_Functions.llList2Key(src, index);
990 }
991
992 public LSL_List llList2List(LSL_List src, int start, int end)
993 {
994 return m_LSL_Functions.llList2List(src, start, end);
995 }
996
997 public LSL_List llList2ListStrided(LSL_List src, int start, int end, int stride)
998 {
999 return m_LSL_Functions.llList2ListStrided(src, start, end, stride);
1000 }
1001
1002 public LSL_Rotation llList2Rot(LSL_List src, int index)
1003 {
1004 return m_LSL_Functions.llList2Rot(src, index);
1005 }
1006
1007 public LSL_String llList2String(LSL_List src, int index)
1008 {
1009 return m_LSL_Functions.llList2String(src, index);
1010 }
1011
1012 public LSL_Vector llList2Vector(LSL_List src, int index)
1013 {
1014 return m_LSL_Functions.llList2Vector(src, index);
1015 }
1016
1017 public LSL_Integer llListen(int channelID, string name, string ID, string msg)
1018 {
1019 return m_LSL_Functions.llListen(channelID, name, ID, msg);
1020 }
1021
1022 public void llListenControl(int number, int active)
1023 {
1024 m_LSL_Functions.llListenControl(number, active);
1025 }
1026
1027 public void llListenRemove(int number)
1028 {
1029 m_LSL_Functions.llListenRemove(number);
1030 }
1031
1032 public LSL_Integer llListFindList(LSL_List src, LSL_List test)
1033 {
1034 return m_LSL_Functions.llListFindList(src, test);
1035 }
1036
1037 public LSL_List llListInsertList(LSL_List dest, LSL_List src, int start)
1038 {
1039 return m_LSL_Functions.llListInsertList(dest, src, start);
1040 }
1041
1042 public LSL_List llListRandomize(LSL_List src, int stride)
1043 {
1044 return m_LSL_Functions.llListRandomize(src, stride);
1045 }
1046
1047 public LSL_List llListReplaceList(LSL_List dest, LSL_List src, int start, int end)
1048 {
1049 return m_LSL_Functions.llListReplaceList(dest, src, start, end);
1050 }
1051
1052 public LSL_List llListSort(LSL_List src, int stride, int ascending)
1053 {
1054 return m_LSL_Functions.llListSort(src, stride, ascending);
1055 }
1056
1057 public LSL_Float llListStatistics(int operation, LSL_List src)
1058 {
1059 return m_LSL_Functions.llListStatistics(operation, src);
1060 }
1061
1062 public void llLoadURL(string avatar_id, string message, string url)
1063 {
1064 m_LSL_Functions.llLoadURL(avatar_id, message, url);
1065 }
1066
1067 public LSL_Float llLog(double val)
1068 {
1069 return m_LSL_Functions.llLog(val);
1070 }
1071
1072 public LSL_Float llLog10(double val)
1073 {
1074 return m_LSL_Functions.llLog10(val);
1075 }
1076
1077 public void llLookAt(LSL_Vector target, double strength, double damping)
1078 {
1079 m_LSL_Functions.llLookAt(target, strength, damping);
1080 }
1081
1082 public void llLoopSound(string sound, double volume)
1083 {
1084 m_LSL_Functions.llLoopSound(sound, volume);
1085 }
1086
1087 public void llLoopSoundMaster(string sound, double volume)
1088 {
1089 m_LSL_Functions.llLoopSoundMaster(sound, volume);
1090 }
1091
1092 public void llLoopSoundSlave(string sound, double volume)
1093 {
1094 m_LSL_Functions.llLoopSoundSlave(sound, volume);
1095 }
1096
1097 public void llMakeExplosion()
1098 {
1099 m_LSL_Functions.llMakeExplosion();
1100 }
1101
1102 public void llMakeFire()
1103 {
1104 m_LSL_Functions.llMakeFire();
1105 }
1106
1107 public void llMakeFountain()
1108 {
1109 m_LSL_Functions.llMakeFountain();
1110 }
1111
1112 public void llMakeSmoke()
1113 {
1114 m_LSL_Functions.llMakeSmoke();
1115 }
1116
1117 public void llMapDestination(string simname, LSL_Vector pos, LSL_Vector look_at)
1118 {
1119 m_LSL_Functions.llMapDestination(simname, pos, look_at);
1120 }
1121
1122 public LSL_String llMD5String(string src, int nonce)
1123 {
1124 return m_LSL_Functions.llMD5String(src, nonce);
1125 }
1126
1127 public void llMessageLinked(int linknum, int num, string str, string id)
1128 {
1129 m_LSL_Functions.llMessageLinked(linknum, num, str, id);
1130 }
1131
1132 public void llMinEventDelay(double delay)
1133 {
1134 m_LSL_Functions.llMinEventDelay(delay);
1135 }
1136
1137 public void llModifyLand(int action, int brush)
1138 {
1139 m_LSL_Functions.llModifyLand(action, brush);
1140 }
1141
1142 public LSL_Integer llModPow(int a, int b, int c)
1143 {
1144 return m_LSL_Functions.llModPow(a, b, c);
1145 }
1146
1147 public void llMoveToTarget(LSL_Vector target, double tau)
1148 {
1149 m_LSL_Functions.llMoveToTarget(target, tau);
1150 }
1151
1152 public void llOffsetTexture(double u, double v, int face)
1153 {
1154 m_LSL_Functions.llOffsetTexture(u, v, face);
1155 }
1156
1157 public void llOpenRemoteDataChannel()
1158 {
1159 m_LSL_Functions.llOpenRemoteDataChannel();
1160 }
1161
1162 public LSL_Integer llOverMyLand(string id)
1163 {
1164 return m_LSL_Functions.llOverMyLand(id);
1165 }
1166
1167 public void llOwnerSay(string msg)
1168 {
1169 m_LSL_Functions.llOwnerSay(msg);
1170 }
1171
1172 public void llParcelMediaCommandList(LSL_List commandList)
1173 {
1174 m_LSL_Functions.llParcelMediaCommandList(commandList);
1175 }
1176
1177 public LSL_List llParcelMediaQuery(LSL_List aList)
1178 {
1179 return m_LSL_Functions.llParcelMediaQuery(aList);
1180 }
1181
1182 public LSL_List llParseString2List(string str, LSL_List separators, LSL_List spacers)
1183 {
1184 return m_LSL_Functions.llParseString2List(str, separators, spacers);
1185 }
1186
1187 public LSL_List llParseStringKeepNulls(string src, LSL_List seperators, LSL_List spacers)
1188 {
1189 return m_LSL_Functions.llParseStringKeepNulls(src, seperators, spacers);
1190 }
1191
1192 public void llParticleSystem(LSL_List rules)
1193 {
1194 m_LSL_Functions.llParticleSystem(rules);
1195 }
1196
1197 public void llPassCollisions(int pass)
1198 {
1199 m_LSL_Functions.llPassCollisions(pass);
1200 }
1201
1202 public void llPassTouches(int pass)
1203 {
1204 m_LSL_Functions.llPassTouches(pass);
1205 }
1206
1207 public void llPlaySound(string sound, double volume)
1208 {
1209 m_LSL_Functions.llPlaySound(sound, volume);
1210 }
1211
1212 public void llPlaySoundSlave(string sound, double volume)
1213 {
1214 m_LSL_Functions.llPlaySoundSlave(sound, volume);
1215 }
1216
1217 public void llPointAt()
1218 {
1219 m_LSL_Functions.llPointAt();
1220 }
1221
1222 public LSL_Float llPow(double fbase, double fexponent)
1223 {
1224 return m_LSL_Functions.llPow(fbase, fexponent);
1225 }
1226
1227 public void llPreloadSound(string sound)
1228 {
1229 m_LSL_Functions.llPreloadSound(sound);
1230 }
1231
1232 public void llPushObject(string target, LSL_Vector impulse, LSL_Vector ang_impulse, int local)
1233 {
1234 m_LSL_Functions.llPushObject(target, impulse, ang_impulse, local);
1235 }
1236
1237 public void llRefreshPrimURL()
1238 {
1239 m_LSL_Functions.llRefreshPrimURL();
1240 }
1241
1242 public void llRegionSay(int channelID, string text)
1243 {
1244 m_LSL_Functions.llRegionSay(channelID, text);
1245 }
1246
1247 public void llReleaseCamera(string avatar)
1248 {
1249 m_LSL_Functions.llReleaseCamera(avatar);
1250 }
1251
1252 public void llReleaseControls()
1253 {
1254 m_LSL_Functions.llReleaseControls();
1255 }
1256
1257 public void llRemoteDataReply(string channel, string message_id, string sdata, int idata)
1258 {
1259 m_LSL_Functions.llRemoteDataReply(channel, message_id, sdata, idata);
1260 }
1261
1262 public void llRemoteDataSetRegion()
1263 {
1264 m_LSL_Functions.llRemoteDataSetRegion();
1265 }
1266
1267 public void llRemoteLoadScript()
1268 {
1269 m_LSL_Functions.llRemoteLoadScript();
1270 }
1271
1272 public void llRemoteLoadScriptPin(string target, string name, int pin, int running, int start_param)
1273 {
1274 m_LSL_Functions.llRemoteLoadScriptPin(target, name, pin, running, start_param);
1275 }
1276
1277 public void llRemoveFromLandBanList(string avatar)
1278 {
1279 m_LSL_Functions.llRemoveFromLandBanList(avatar);
1280 }
1281
1282 public void llRemoveFromLandPassList(string avatar)
1283 {
1284 m_LSL_Functions.llRemoveFromLandPassList(avatar);
1285 }
1286
1287 public void llRemoveInventory(string item)
1288 {
1289 m_LSL_Functions.llRemoveInventory(item);
1290 }
1291
1292 public void llRemoveVehicleFlags(int flags)
1293 {
1294 m_LSL_Functions.llRemoveVehicleFlags(flags);
1295 }
1296
1297 public LSL_Key llRequestAgentData(string id, int data)
1298 {
1299 return m_LSL_Functions.llRequestAgentData(id, data);
1300 }
1301
1302 public LSL_Key llRequestInventoryData(string name)
1303 {
1304 return m_LSL_Functions.llRequestInventoryData(name);
1305 }
1306
1307 public void llRequestPermissions(string agent, int perm)
1308 {
1309 m_LSL_Functions.llRequestPermissions(agent, perm);
1310 }
1311
1312 public LSL_Key llRequestSimulatorData(string simulator, int data)
1313 {
1314 return m_LSL_Functions.llRequestSimulatorData(simulator, data);
1315 }
1316
1317 public void llResetLandBanList()
1318 {
1319 m_LSL_Functions.llResetLandBanList();
1320 }
1321
1322 public void llResetLandPassList()
1323 {
1324 m_LSL_Functions.llResetLandPassList();
1325 }
1326
1327 public void llResetOtherScript(string name)
1328 {
1329 m_LSL_Functions.llResetOtherScript(name);
1330 }
1331
1332 public void llResetScript()
1333 {
1334 m_LSL_Functions.llResetScript();
1335 }
1336
1337 public void llResetTime()
1338 {
1339 m_LSL_Functions.llResetTime();
1340 }
1341
1342 public void llRezAtRoot(string inventory, LSL_Vector position, LSL_Vector velocity, LSL_Rotation rot, int param)
1343 {
1344 m_LSL_Functions.llRezAtRoot(inventory, position, velocity, rot, param);
1345 }
1346
1347 public void llRezObject(string inventory, LSL_Vector pos, LSL_Vector vel, LSL_Rotation rot, int param)
1348 {
1349 m_LSL_Functions.llRezObject(inventory, pos, vel, rot, param);
1350 }
1351
1352 public LSL_Float llRot2Angle(LSL_Rotation rot)
1353 {
1354 return m_LSL_Functions.llRot2Angle(rot);
1355 }
1356
1357 public LSL_Vector llRot2Axis(LSL_Rotation rot)
1358 {
1359 return m_LSL_Functions.llRot2Axis(rot);
1360 }
1361
1362 public LSL_Vector llRot2Euler(LSL_Rotation r)
1363 {
1364 return m_LSL_Functions.llRot2Euler(r);
1365 }
1366
1367 public LSL_Vector llRot2Fwd(LSL_Rotation r)
1368 {
1369 return m_LSL_Functions.llRot2Fwd(r);
1370 }
1371
1372 public LSL_Vector llRot2Left(LSL_Rotation r)
1373 {
1374 return m_LSL_Functions.llRot2Left(r);
1375 }
1376
1377 public LSL_Vector llRot2Up(LSL_Rotation r)
1378 {
1379 return m_LSL_Functions.llRot2Up(r);
1380 }
1381
1382 public void llRotateTexture(double rotation, int face)
1383 {
1384 m_LSL_Functions.llRotateTexture(rotation, face);
1385 }
1386
1387 public LSL_Rotation llRotBetween(LSL_Vector start, LSL_Vector end)
1388 {
1389 return m_LSL_Functions.llRotBetween(start, end);
1390 }
1391
1392 public void llRotLookAt(LSL_Rotation target, double strength, double damping)
1393 {
1394 m_LSL_Functions.llRotLookAt(target, strength, damping);
1395 }
1396
1397 public LSL_Integer llRotTarget(LSL_Rotation rot, double error)
1398 {
1399 return m_LSL_Functions.llRotTarget(rot, error);
1400 }
1401
1402 public void llRotTargetRemove(int number)
1403 {
1404 m_LSL_Functions.llRotTargetRemove(number);
1405 }
1406
1407 public LSL_Integer llRound(double f)
1408 {
1409 return m_LSL_Functions.llRound(f);
1410 }
1411
1412 public LSL_Integer llSameGroup(string agent)
1413 {
1414 return m_LSL_Functions.llSameGroup(agent);
1415 }
1416
1417 public void llSay(int channelID, string text)
1418 {
1419 m_LSL_Functions.llSay(channelID, text);
1420 }
1421
1422 public void llScaleTexture(double u, double v, int face)
1423 {
1424 m_LSL_Functions.llScaleTexture(u, v, face);
1425 }
1426
1427 public LSL_Integer llScriptDanger(LSL_Vector pos)
1428 {
1429 return m_LSL_Functions.llScriptDanger(pos);
1430 }
1431
1432 public LSL_Key llSendRemoteData(string channel, string dest, int idata, string sdata)
1433 {
1434 return m_LSL_Functions.llSendRemoteData(channel, dest, idata, sdata);
1435 }
1436
1437 public void llSensor(string name, string id, int type, double range, double arc)
1438 {
1439 m_LSL_Functions.llSensor(name, id, type, range, arc);
1440 }
1441
1442 public void llSensorRemove()
1443 {
1444 m_LSL_Functions.llSensorRemove();
1445 }
1446
1447 public void llSensorRepeat(string name, string id, int type, double range, double arc, double rate)
1448 {
1449 m_LSL_Functions.llSensorRepeat(name, id, type, range, arc, rate);
1450 }
1451
1452 public void llSetAlpha(double alpha, int face)
1453 {
1454 m_LSL_Functions.llSetAlpha(alpha, face);
1455 }
1456
1457 public void llSetBuoyancy(double buoyancy)
1458 {
1459 m_LSL_Functions.llSetBuoyancy(buoyancy);
1460 }
1461
1462 public void llSetCameraAtOffset(LSL_Vector offset)
1463 {
1464 m_LSL_Functions.llSetCameraAtOffset(offset);
1465 }
1466
1467 public void llSetCameraEyeOffset(LSL_Vector offset)
1468 {
1469 m_LSL_Functions.llSetCameraEyeOffset(offset);
1470 }
1471
1472 public void llSetCameraParams(LSL_List rules)
1473 {
1474 m_LSL_Functions.llSetCameraParams(rules);
1475 }
1476
1477 public void llSetClickAction(int action)
1478 {
1479 m_LSL_Functions.llSetClickAction(action);
1480 }
1481
1482 public void llSetColor(LSL_Vector color, int face)
1483 {
1484 m_LSL_Functions.llSetColor(color, face);
1485 }
1486
1487 public void llSetDamage(double damage)
1488 {
1489 m_LSL_Functions.llSetDamage(damage);
1490 }
1491
1492 public void llSetForce(LSL_Vector force, int local)
1493 {
1494 m_LSL_Functions.llSetForce(force, local);
1495 }
1496
1497 public void llSetForceAndTorque(LSL_Vector force, LSL_Vector torque, int local)
1498 {
1499 m_LSL_Functions.llSetForceAndTorque(force, torque, local);
1500 }
1501
1502 public void llSetHoverHeight(double height, int water, double tau)
1503 {
1504 m_LSL_Functions.llSetHoverHeight(height, water, tau);
1505 }
1506
1507 public void llSetInventoryPermMask(string item, int mask, int value)
1508 {
1509 m_LSL_Functions.llSetInventoryPermMask(item, mask, value);
1510 }
1511
1512 public void llSetLinkAlpha(int linknumber, double alpha, int face)
1513 {
1514 m_LSL_Functions.llSetLinkAlpha(linknumber, alpha, face);
1515 }
1516
1517 public void llSetLinkColor(int linknumber, LSL_Vector color, int face)
1518 {
1519 m_LSL_Functions.llSetLinkColor(linknumber, color, face);
1520 }
1521
1522 public void llSetLinkPrimitiveParams(int linknumber, LSL_List rules)
1523 {
1524 m_LSL_Functions.llSetLinkPrimitiveParams(linknumber, rules);
1525 }
1526
1527 public void llSetLinkTexture(int linknumber, string texture, int face)
1528 {
1529 m_LSL_Functions.llSetLinkTexture(linknumber, texture, face);
1530 }
1531
1532 public void llSetLocalRot(LSL_Rotation rot)
1533 {
1534 m_LSL_Functions.llSetLocalRot(rot);
1535 }
1536
1537 public void llSetObjectDesc(string desc)
1538 {
1539 m_LSL_Functions.llSetObjectDesc(desc);
1540 }
1541
1542 public void llSetObjectName(string name)
1543 {
1544 m_LSL_Functions.llSetObjectName(name);
1545 }
1546
1547 public void llSetObjectPermMask(int mask, int value)
1548 {
1549 m_LSL_Functions.llSetObjectPermMask(mask, value);
1550 }
1551
1552 public void llSetParcelMusicURL(string url)
1553 {
1554 m_LSL_Functions.llSetParcelMusicURL(url);
1555 }
1556
1557 public void llSetPayPrice(int price, LSL_List quick_pay_buttons)
1558 {
1559 m_LSL_Functions.llSetPayPrice(price, quick_pay_buttons);
1560 }
1561
1562 public void llSetPos(LSL_Vector pos)
1563 {
1564 m_LSL_Functions.llSetPos(pos);
1565 }
1566
1567 public void llSetPrimitiveParams(LSL_List rules)
1568 {
1569 m_LSL_Functions.llSetPrimitiveParams(rules);
1570 }
1571
1572 public void llSetPrimURL()
1573 {
1574 m_LSL_Functions.llSetPrimURL();
1575 }
1576
1577 public void llSetRemoteScriptAccessPin(int pin)
1578 {
1579 m_LSL_Functions.llSetRemoteScriptAccessPin(pin);
1580 }
1581
1582 public void llSetRot(LSL_Rotation rot)
1583 {
1584 m_LSL_Functions.llSetRot(rot);
1585 }
1586
1587 public void llSetScale(LSL_Vector scale)
1588 {
1589 m_LSL_Functions.llSetScale(scale);
1590 }
1591
1592 public void llSetScriptState(string name, int run)
1593 {
1594 m_LSL_Functions.llSetScriptState(name, run);
1595 }
1596
1597 public void llSetSitText(string text)
1598 {
1599 m_LSL_Functions.llSetSitText(text);
1600 }
1601
1602 public void llSetSoundQueueing(int queue)
1603 {
1604 m_LSL_Functions.llSetSoundQueueing(queue);
1605 }
1606
1607 public void llSetSoundRadius(double radius)
1608 {
1609 m_LSL_Functions.llSetSoundRadius(radius);
1610 }
1611
1612 public void llSetStatus(int status, int value)
1613 {
1614 m_LSL_Functions.llSetStatus(status, value);
1615 }
1616
1617 public void llSetText(string text, LSL_Vector color, double alpha)
1618 {
1619 m_LSL_Functions.llSetText(text, color, alpha);
1620 }
1621
1622 public void llSetTexture(string texture, int face)
1623 {
1624 m_LSL_Functions.llSetTexture(texture, face);
1625 }
1626
1627 public void llSetTextureAnim(int mode, int face, int sizex, int sizey, double start, double length, double rate)
1628 {
1629 m_LSL_Functions.llSetTextureAnim(mode, face, sizex, sizey, start, length, rate);
1630 }
1631
1632 public void llSetTimerEvent(double sec)
1633 {
1634 m_LSL_Functions.llSetTimerEvent(sec);
1635 }
1636
1637 public void llSetTorque(LSL_Vector torque, int local)
1638 {
1639 m_LSL_Functions.llSetTorque(torque, local);
1640 }
1641
1642 public void llSetTouchText(string text)
1643 {
1644 m_LSL_Functions.llSetTouchText(text);
1645 }
1646
1647 public void llSetVehicleFlags(int flags)
1648 {
1649 m_LSL_Functions.llSetVehicleFlags(flags);
1650 }
1651
1652 public void llSetVehicleFloatParam(int param, float value)
1653 {
1654 m_LSL_Functions.llSetVehicleFloatParam(param, value);
1655 }
1656
1657 public void llSetVehicleRotationParam(int param, LSL_Rotation rot)
1658 {
1659 m_LSL_Functions.llSetVehicleRotationParam(param, rot);
1660 }
1661
1662 public void llSetVehicleType(int type)
1663 {
1664 m_LSL_Functions.llSetVehicleType(type);
1665 }
1666
1667 public void llSetVehicleVectorParam(int param, LSL_Vector vec)
1668 {
1669 m_LSL_Functions.llSetVehicleVectorParam(param, vec);
1670 }
1671
1672 public void llShout(int channelID, string text)
1673 {
1674 m_LSL_Functions.llShout(channelID, text);
1675 }
1676
1677 public LSL_Float llSin(double f)
1678 {
1679 return m_LSL_Functions.llSin(f);
1680 }
1681
1682 public void llSitTarget(LSL_Vector offset, LSL_Rotation rot)
1683 {
1684 m_LSL_Functions.llSitTarget(offset, rot);
1685 }
1686
1687 public void llSleep(double sec)
1688 {
1689 m_LSL_Functions.llSleep(sec);
1690 }
1691
1692 public void llSound()
1693 {
1694 m_LSL_Functions.llSound();
1695 }
1696
1697 public void llSoundPreload()
1698 {
1699 m_LSL_Functions.llSoundPreload();
1700 }
1701
1702 public LSL_Float llSqrt(double f)
1703 {
1704 return m_LSL_Functions.llSqrt(f);
1705 }
1706
1707 public void llStartAnimation(string anim)
1708 {
1709 m_LSL_Functions.llStartAnimation(anim);
1710 }
1711
1712 public void llStopAnimation(string anim)
1713 {
1714 m_LSL_Functions.llStopAnimation(anim);
1715 }
1716
1717 public void llStopHover()
1718 {
1719 m_LSL_Functions.llStopHover();
1720 }
1721
1722 public void llStopLookAt()
1723 {
1724 m_LSL_Functions.llStopLookAt();
1725 }
1726
1727 public void llStopMoveToTarget()
1728 {
1729 m_LSL_Functions.llStopMoveToTarget();
1730 }
1731
1732 public void llStopPointAt()
1733 {
1734 m_LSL_Functions.llStopPointAt();
1735 }
1736
1737 public void llStopSound()
1738 {
1739 m_LSL_Functions.llStopSound();
1740 }
1741
1742 public LSL_Integer llStringLength(string str)
1743 {
1744 return m_LSL_Functions.llStringLength(str);
1745 }
1746
1747 public LSL_String llStringToBase64(string str)
1748 {
1749 return m_LSL_Functions.llStringToBase64(str);
1750 }
1751
1752 public LSL_String llStringTrim(string src, int type)
1753 {
1754 return m_LSL_Functions.llStringTrim(src, type);
1755 }
1756
1757 public LSL_Integer llSubStringIndex(string source, string pattern)
1758 {
1759 return m_LSL_Functions.llSubStringIndex(source, pattern);
1760 }
1761
1762 public void llTakeCamera(string avatar)
1763 {
1764 m_LSL_Functions.llTakeCamera(avatar);
1765 }
1766
1767 public void llTakeControls(int controls, int accept, int pass_on)
1768 {
1769 m_LSL_Functions.llTakeControls(controls, accept, pass_on);
1770 }
1771
1772 public LSL_Float llTan(double f)
1773 {
1774 return m_LSL_Functions.llTan(f);
1775 }
1776
1777 public LSL_Integer llTarget(LSL_Vector position, double range)
1778 {
1779 return m_LSL_Functions.llTarget(position, range);
1780 }
1781
1782 public void llTargetOmega(LSL_Vector axis, double spinrate, double gain)
1783 {
1784 m_LSL_Functions.llTargetOmega(axis, spinrate, gain);
1785 }
1786
1787 public void llTargetRemove(int number)
1788 {
1789 m_LSL_Functions.llTargetRemove(number);
1790 }
1791
1792 public void llTeleportAgentHome(string agent)
1793 {
1794 m_LSL_Functions.llTeleportAgentHome(agent);
1795 }
1796
1797 public void llTextBox(string avatar, string message, int chat_channel)
1798 {
1799 m_LSL_Functions.llTextBox(avatar, message, chat_channel);
1800 }
1801
1802 public LSL_String llToLower(string source)
1803 {
1804 return m_LSL_Functions.llToLower(source);
1805 }
1806
1807 public LSL_String llToUpper(string source)
1808 {
1809 return m_LSL_Functions.llToUpper(source);
1810 }
1811
1812 public void llTriggerSound(string sound, double volume)
1813 {
1814 m_LSL_Functions.llTriggerSound(sound, volume);
1815 }
1816
1817 public void llTriggerSoundLimited(string sound, double volume, LSL_Vector top_north_east, LSL_Vector bottom_south_west)
1818 {
1819 m_LSL_Functions.llTriggerSoundLimited(sound, volume, top_north_east, bottom_south_west);
1820 }
1821
1822 public LSL_String llUnescapeURL(string url)
1823 {
1824 return m_LSL_Functions.llUnescapeURL(url);
1825 }
1826
1827 public void llUnSit(string id)
1828 {
1829 m_LSL_Functions.llUnSit(id);
1830 }
1831
1832 public LSL_Float llVecDist(LSL_Vector a, LSL_Vector b)
1833 {
1834 return m_LSL_Functions.llVecDist(a, b);
1835 }
1836
1837 public LSL_Float llVecMag(LSL_Vector v)
1838 {
1839 return m_LSL_Functions.llVecMag(v);
1840 }
1841
1842 public LSL_Vector llVecNorm(LSL_Vector v)
1843 {
1844 return m_LSL_Functions.llVecNorm(v);
1845 }
1846
1847 public void llVolumeDetect(int detect)
1848 {
1849 m_LSL_Functions.llVolumeDetect(detect);
1850 }
1851
1852 public LSL_Float llWater(LSL_Vector offset)
1853 {
1854 return m_LSL_Functions.llWater(offset);
1855 }
1856
1857 public void llWhisper(int channelID, string text)
1858 {
1859 m_LSL_Functions.llWhisper(channelID, text);
1860 }
1861
1862 public LSL_Vector llWind(LSL_Vector offset)
1863 {
1864 return m_LSL_Functions.llWind(offset);
1865 }
1866
1867 public void llXorBase64Strings()
1868 {
1869 m_LSL_Functions.llXorBase64Strings();
1870 }
1871
1872 public LSL_String llXorBase64StringsCorrect(string str1, string str2)
1873 {
1874 return m_LSL_Functions.llXorBase64StringsCorrect(str1, str2);
1875 }
1876
1877 //
1878 // OpenSim Functions
1879 //
1880 public string osSetDynamicTextureURL(string dynamicID, string contentType, string url, string extraParams,
1881 int timer)
1882 {
1883 return m_LSL_Functions.osSetDynamicTextureURL(dynamicID, contentType, url, extraParams, timer);
1884 }
1885
1886 public string osSetDynamicTextureData(string dynamicID, string contentType, string data, string extraParams,
1887 int timer)
1888 {
1889 return m_LSL_Functions.osSetDynamicTextureData(dynamicID, contentType, data, extraParams, timer);
1890 }
1891
1892 public string osSetDynamicTextureURLBlend(string dynamicID, string contentType, string url, string extraParams,
1893 int timer, int alpha)
1894 {
1895 return m_LSL_Functions.osSetDynamicTextureURLBlend(dynamicID, contentType, url, extraParams, timer, alpha);
1896 }
1897
1898 public string osSetDynamicTextureDataBlend(string dynamicID, string contentType, string data, string extraParams,
1899 int timer, int alpha)
1900 {
1901 return m_LSL_Functions.osSetDynamicTextureDataBlend(dynamicID, contentType, data, extraParams, timer, alpha);
1902 }
1903
1904 public double osTerrainGetHeight(int x, int y)
1905 {
1906 return m_LSL_Functions.osTerrainGetHeight(x, y);
1907 }
1908
1909 public int osTerrainSetHeight(int x, int y, double val)
1910 {
1911 return m_LSL_Functions.osTerrainSetHeight(x, y, val);
1912 }
1913
1914 public int osRegionRestart(double seconds)
1915 {
1916 return m_LSL_Functions.osRegionRestart(seconds);
1917 }
1918
1919 public void osRegionNotice(string msg)
1920 {
1921 m_LSL_Functions.osRegionNotice(msg);
1922 }
1923
1924 public bool osConsoleCommand(string Command)
1925 {
1926 return m_LSL_Functions.osConsoleCommand(Command);
1927 }
1928
1929 public void osSetParcelMediaURL(string url)
1930 {
1931 m_LSL_Functions.osSetParcelMediaURL(url);
1932 }
1933
1934 public void osSetPrimFloatOnWater(int floatYN)
1935 {
1936 m_LSL_Functions.osSetPrimFloatOnWater(floatYN);
1937 }
1938
1939 // Teleport Functions
1940
1941 public void osTeleportAgent(string agent, string regionName, LSL_Vector position, LSL_Vector lookat)
1942 {
1943 m_LSL_Functions.osTeleportAgent(agent, regionName, position, lookat);
1944 }
1945
1946 public void osTeleportAgent(string agent, LSL_Vector position, LSL_Vector lookat)
1947 {
1948 m_LSL_Functions.osTeleportAgent(agent, position, lookat);
1949 }
1950
1951 // Animation Functions
1952
1953 public void osAvatarPlayAnimation(string avatar, string animation)
1954 {
1955 m_LSL_Functions.osAvatarPlayAnimation(avatar, animation);
1956 }
1957
1958 public void osAvatarStopAnimation(string avatar, string animation)
1959 {
1960 m_LSL_Functions.osAvatarStopAnimation(avatar, animation);
1961 }
1962
1963
1964 //Texture Draw functions
1965
1966 public string osMovePen(string drawList, int x, int y)
1967 {
1968 return m_LSL_Functions.osMovePen(drawList, x, y);
1969 }
1970
1971 public string osDrawLine(string drawList, int startX, int startY, int endX, int endY)
1972 {
1973 return m_LSL_Functions.osDrawLine(drawList, startX, startY, endX, endY);
1974 }
1975
1976 public string osDrawLine(string drawList, int endX, int endY)
1977 {
1978 return m_LSL_Functions.osDrawLine(drawList, endX, endY);
1979 }
1980
1981 public string osDrawText(string drawList, string text)
1982 {
1983 return m_LSL_Functions.osDrawText(drawList, text);
1984 }
1985
1986 public string osDrawEllipse(string drawList, int width, int height)
1987 {
1988 return m_LSL_Functions.osDrawEllipse(drawList, width, height);
1989 }
1990
1991 public string osDrawRectangle(string drawList, int width, int height)
1992 {
1993 return m_LSL_Functions.osDrawRectangle(drawList, width, height);
1994 }
1995
1996 public string osDrawFilledRectangle(string drawList, int width, int height)
1997 {
1998 return m_LSL_Functions.osDrawFilledRectangle(drawList, width, height);
1999 }
2000
2001 public string osSetFontSize(string drawList, int fontSize)
2002 {
2003 return m_LSL_Functions.osSetFontSize(drawList, fontSize);
2004 }
2005
2006 public string osSetPenSize(string drawList, int penSize)
2007 {
2008 return m_LSL_Functions.osSetPenSize(drawList, penSize);
2009 }
2010
2011 public string osSetPenColour(string drawList, string colour)
2012 {
2013 return m_LSL_Functions.osSetPenColour(drawList, colour);
2014 }
2015
2016 public string osDrawImage(string drawList, int width, int height, string imageUrl)
2017 {
2018 return m_LSL_Functions.osDrawImage(drawList, width, height, imageUrl);
2019 }
2020
2021 public void osSetStateEvents(int events)
2022 {
2023 m_LSL_Functions.osSetStateEvents(events);
2024 }
2025
2026 public void osOpenRemoteDataChannel(string channel)
2027 {
2028 m_LSL_Functions.osOpenRemoteDataChannel(channel);
2029 }
2030
2031 public string osGetScriptEngineName()
2032 {
2033 return m_LSL_Functions.osGetScriptEngineName();
2034 }
2035
2036 public System.Collections.Hashtable osParseJSON(string JSON)
2037 {
2038 return m_LSL_Functions.osParseJSON(JSON);
2039 }
2040
2041 //for testing purposes only
2042 public void osSetParcelMediaTime(double time)
2043 {
2044 m_LSL_Functions.osSetParcelMediaTime(time);
2045 }
2046
2047 // LSL CONSTANTS
2048 public const int TRUE = 1;
2049 public const int FALSE = 0;
2050
2051 public const int STATUS_PHYSICS = 1;
2052 public const int STATUS_ROTATE_X = 2;
2053 public const int STATUS_ROTATE_Y = 4;
2054 public const int STATUS_ROTATE_Z = 8;
2055 public const int STATUS_PHANTOM = 16;
2056 public const int STATUS_SANDBOX = 32;
2057 public const int STATUS_BLOCK_GRAB = 64;
2058 public const int STATUS_DIE_AT_EDGE = 128;
2059 public const int STATUS_RETURN_AT_EDGE = 256;
2060 public const int STATUS_CAST_SHADOWS = 512;
2061
2062 public const int AGENT = 1;
2063 public const int ACTIVE = 2;
2064 public const int PASSIVE = 4;
2065 public const int SCRIPTED = 8;
2066
2067 public const int CONTROL_FWD = 1;
2068 public const int CONTROL_BACK = 2;
2069 public const int CONTROL_LEFT = 4;
2070 public const int CONTROL_RIGHT = 8;
2071 public const int CONTROL_UP = 16;
2072 public const int CONTROL_DOWN = 32;
2073 public const int CONTROL_ROT_LEFT = 256;
2074 public const int CONTROL_ROT_RIGHT = 512;
2075 public const int CONTROL_LBUTTON = 268435456;
2076 public const int CONTROL_ML_LBUTTON = 1073741824;
2077
2078 //Permissions
2079 public const int PERMISSION_DEBIT = 2;
2080 public const int PERMISSION_TAKE_CONTROLS = 4;
2081 public const int PERMISSION_REMAP_CONTROLS = 8;
2082 public const int PERMISSION_TRIGGER_ANIMATION = 16;
2083 public const int PERMISSION_ATTACH = 32;
2084 public const int PERMISSION_RELEASE_OWNERSHIP = 64;
2085 public const int PERMISSION_CHANGE_LINKS = 128;
2086 public const int PERMISSION_CHANGE_JOINTS = 256;
2087 public const int PERMISSION_CHANGE_PERMISSIONS = 512;
2088 public const int PERMISSION_TRACK_CAMERA = 1024;
2089 public const int PERMISSION_CONTROL_CAMERA = 2048;
2090
2091 public const int AGENT_FLYING = 1;
2092 public const int AGENT_ATTACHMENTS = 2;
2093 public const int AGENT_SCRIPTED = 4;
2094 public const int AGENT_MOUSELOOK = 8;
2095 public const int AGENT_SITTING = 16;
2096 public const int AGENT_ON_OBJECT = 32;
2097 public const int AGENT_AWAY = 64;
2098 public const int AGENT_WALKING = 128;
2099 public const int AGENT_IN_AIR = 256;
2100 public const int AGENT_TYPING = 512;
2101 public const int AGENT_CROUCHING = 1024;
2102 public const int AGENT_BUSY = 2048;
2103 public const int AGENT_ALWAYS_RUN = 4096;
2104
2105 //Particle Systems
2106 public const int PSYS_PART_INTERP_COLOR_MASK = 1;
2107 public const int PSYS_PART_INTERP_SCALE_MASK = 2;
2108 public const int PSYS_PART_BOUNCE_MASK = 4;
2109 public const int PSYS_PART_WIND_MASK = 8;
2110 public const int PSYS_PART_FOLLOW_SRC_MASK = 16;
2111 public const int PSYS_PART_FOLLOW_VELOCITY_MASK = 32;
2112 public const int PSYS_PART_TARGET_POS_MASK = 64;
2113 public const int PSYS_PART_TARGET_LINEAR_MASK = 128;
2114 public const int PSYS_PART_EMISSIVE_MASK = 256;
2115 public const int PSYS_PART_FLAGS = 0;
2116 public const int PSYS_PART_START_COLOR = 1;
2117 public const int PSYS_PART_START_ALPHA = 2;
2118 public const int PSYS_PART_END_COLOR = 3;
2119 public const int PSYS_PART_END_ALPHA = 4;
2120 public const int PSYS_PART_START_SCALE = 5;
2121 public const int PSYS_PART_END_SCALE = 6;
2122 public const int PSYS_PART_MAX_AGE = 7;
2123 public const int PSYS_SRC_ACCEL = 8;
2124 public const int PSYS_SRC_PATTERN = 9;
2125 public const int PSYS_SRC_INNERANGLE = 10;
2126 public const int PSYS_SRC_OUTERANGLE = 11;
2127 public const int PSYS_SRC_TEXTURE = 12;
2128 public const int PSYS_SRC_BURST_RATE = 13;
2129 public const int PSYS_SRC_BURST_PART_COUNT = 15;
2130 public const int PSYS_SRC_BURST_RADIUS = 16;
2131 public const int PSYS_SRC_BURST_SPEED_MIN = 17;
2132 public const int PSYS_SRC_BURST_SPEED_MAX = 18;
2133 public const int PSYS_SRC_MAX_AGE = 19;
2134 public const int PSYS_SRC_TARGET_KEY = 20;
2135 public const int PSYS_SRC_OMEGA = 21;
2136 public const int PSYS_SRC_ANGLE_BEGIN = 22;
2137 public const int PSYS_SRC_ANGLE_END = 23;
2138 public const int PSYS_SRC_PATTERN_DROP = 1;
2139 public const int PSYS_SRC_PATTERN_EXPLODE = 2;
2140 public const int PSYS_SRC_PATTERN_ANGLE = 4;
2141 public const int PSYS_SRC_PATTERN_ANGLE_CONE = 8;
2142 public const int PSYS_SRC_PATTERN_ANGLE_CONE_EMPTY = 16;
2143
2144 public const int VEHICLE_TYPE_NONE = 0;
2145 public const int VEHICLE_TYPE_SLED = 1;
2146 public const int VEHICLE_TYPE_CAR = 2;
2147 public const int VEHICLE_TYPE_BOAT = 3;
2148 public const int VEHICLE_TYPE_AIRPLANE = 4;
2149 public const int VEHICLE_TYPE_BALLOON = 5;
2150 public const int VEHICLE_LINEAR_FRICTION_TIMESCALE = 16;
2151 public const int VEHICLE_ANGULAR_FRICTION_TIMESCALE = 17;
2152 public const int VEHICLE_LINEAR_MOTOR_DIRECTION = 18;
2153 public const int VEHICLE_LINEAR_MOTOR_OFFSET = 20;
2154 public const int VEHICLE_ANGULAR_MOTOR_DIRECTION = 19;
2155 public const int VEHICLE_HOVER_HEIGHT = 24;
2156 public const int VEHICLE_HOVER_EFFICIENCY = 25;
2157 public const int VEHICLE_HOVER_TIMESCALE = 26;
2158 public const int VEHICLE_BUOYANCY = 27;
2159 public const int VEHICLE_LINEAR_DEFLECTION_EFFICIENCY = 28;
2160 public const int VEHICLE_LINEAR_DEFLECTION_TIMESCALE = 29;
2161 public const int VEHICLE_LINEAR_MOTOR_TIMESCALE = 30;
2162 public const int VEHICLE_LINEAR_MOTOR_DECAY_TIMESCALE = 31;
2163 public const int VEHICLE_ANGULAR_DEFLECTION_EFFICIENCY = 32;
2164 public const int VEHICLE_ANGULAR_DEFLECTION_TIMESCALE = 33;
2165 public const int VEHICLE_ANGULAR_MOTOR_TIMESCALE = 34;
2166 public const int VEHICLE_ANGULAR_MOTOR_DECAY_TIMESCALE = 35;
2167 public const int VEHICLE_VERTICAL_ATTRACTION_EFFICIENCY = 36;
2168 public const int VEHICLE_VERTICAL_ATTRACTION_TIMESCALE = 37;
2169 public const int VEHICLE_BANKING_EFFICIENCY = 38;
2170 public const int VEHICLE_BANKING_MIX = 39;
2171 public const int VEHICLE_BANKING_TIMESCALE = 40;
2172 public const int VEHICLE_REFERENCE_FRAME = 44;
2173 public const int VEHICLE_FLAG_NO_DEFLECTION_UP = 1;
2174 public const int VEHICLE_FLAG_LIMIT_ROLL_ONLY = 2;
2175 public const int VEHICLE_FLAG_HOVER_WATER_ONLY = 4;
2176 public const int VEHICLE_FLAG_HOVER_TERRAIN_ONLY = 8;
2177 public const int VEHICLE_FLAG_HOVER_GLOBAL_HEIGHT = 16;
2178 public const int VEHICLE_FLAG_HOVER_UP_ONLY = 32;
2179 public const int VEHICLE_FLAG_LIMIT_MOTOR_UP = 64;
2180 public const int VEHICLE_FLAG_MOUSELOOK_STEER = 128;
2181 public const int VEHICLE_FLAG_MOUSELOOK_BANK = 256;
2182 public const int VEHICLE_FLAG_CAMERA_DECOUPLED = 512;
2183
2184 public const int INVENTORY_ALL = -1;
2185 public const int INVENTORY_NONE = -1;
2186 public const int INVENTORY_TEXTURE = 0;
2187 public const int INVENTORY_SOUND = 1;
2188 public const int INVENTORY_LANDMARK = 3;
2189 public const int INVENTORY_CLOTHING = 5;
2190 public const int INVENTORY_OBJECT = 6;
2191 public const int INVENTORY_NOTECARD = 7;
2192 public const int INVENTORY_SCRIPT = 10;
2193 public const int INVENTORY_BODYPART = 13;
2194 public const int INVENTORY_ANIMATION = 20;
2195 public const int INVENTORY_GESTURE = 21;
2196
2197 public const int ATTACH_CHEST = 1;
2198 public const int ATTACH_HEAD = 2;
2199 public const int ATTACH_LSHOULDER = 3;
2200 public const int ATTACH_RSHOULDER = 4;
2201 public const int ATTACH_LHAND = 5;
2202 public const int ATTACH_RHAND = 6;
2203 public const int ATTACH_LFOOT = 7;
2204 public const int ATTACH_RFOOT = 8;
2205 public const int ATTACH_BACK = 9;
2206 public const int ATTACH_PELVIS = 10;
2207 public const int ATTACH_MOUTH = 11;
2208 public const int ATTACH_CHIN = 12;
2209 public const int ATTACH_LEAR = 13;
2210 public const int ATTACH_REAR = 14;
2211 public const int ATTACH_LEYE = 15;
2212 public const int ATTACH_REYE = 16;
2213 public const int ATTACH_NOSE = 17;
2214 public const int ATTACH_RUARM = 18;
2215 public const int ATTACH_RLARM = 19;
2216 public const int ATTACH_LUARM = 20;
2217 public const int ATTACH_LLARM = 21;
2218 public const int ATTACH_RHIP = 22;
2219 public const int ATTACH_RULEG = 23;
2220 public const int ATTACH_RLLEG = 24;
2221 public const int ATTACH_LHIP = 25;
2222 public const int ATTACH_LULEG = 26;
2223 public const int ATTACH_LLLEG = 27;
2224 public const int ATTACH_BELLY = 28;
2225 public const int ATTACH_RPEC = 29;
2226 public const int ATTACH_LPEC = 30;
2227
2228 public const int LAND_LEVEL = 0;
2229 public const int LAND_RAISE = 1;
2230 public const int LAND_LOWER = 2;
2231 public const int LAND_SMOOTH = 3;
2232 public const int LAND_NOISE = 4;
2233 public const int LAND_REVERT = 5;
2234 public const int LAND_SMALL_BRUSH = 1;
2235 public const int LAND_MEDIUM_BRUSH = 2;
2236 public const int LAND_LARGE_BRUSH = 3;
2237
2238 //Agent Dataserver
2239 public const int DATA_ONLINE = 1;
2240 public const int DATA_NAME = 2;
2241 public const int DATA_BORN = 3;
2242 public const int DATA_RATING = 4;
2243 public const int DATA_SIM_POS = 5;
2244 public const int DATA_SIM_STATUS = 6;
2245 public const int DATA_SIM_RATING = 7;
2246 public const int DATA_PAYINFO = 8;
2247 public const int DATA_SIM_RELEASE = 128;
2248
2249 public const int ANIM_ON = 1;
2250 public const int LOOP = 2;
2251 public const int REVERSE = 4;
2252 public const int PING_PONG = 8;
2253 public const int SMOOTH = 16;
2254 public const int ROTATE = 32;
2255 public const int SCALE = 64;
2256 public const int ALL_SIDES = -1;
2257 public const int LINK_SET = -1;
2258 public const int LINK_ROOT = 1;
2259 public const int LINK_ALL_OTHERS = -2;
2260 public const int LINK_ALL_CHILDREN = -3;
2261 public const int LINK_THIS = -4;
2262 public const int CHANGED_INVENTORY = 1;
2263 public const int CHANGED_COLOR = 2;
2264 public const int CHANGED_SHAPE = 4;
2265 public const int CHANGED_SCALE = 8;
2266 public const int CHANGED_TEXTURE = 16;
2267 public const int CHANGED_LINK = 32;
2268 public const int CHANGED_ALLOWED_DROP = 64;
2269 public const int CHANGED_OWNER = 128;
2270 public const int CHANGED_REGION_RESTART = 256;
2271 public const int CHANGED_REGION = 512;
2272 public const int CHANGED_TELEPORT = 1024;
2273 public const int TYPE_INVALID = 0;
2274 public const int TYPE_INTEGER = 1;
2275 public const int TYPE_double = 2;
2276 public const int TYPE_STRING = 3;
2277 public const int TYPE_KEY = 4;
2278 public const int TYPE_VECTOR = 5;
2279 public const int TYPE_ROTATION = 6;
2280
2281 //XML RPC Remote Data Channel
2282 public const int REMOTE_DATA_CHANNEL = 1;
2283 public const int REMOTE_DATA_REQUEST = 2;
2284 public const int REMOTE_DATA_REPLY = 3;
2285
2286 //llHTTPRequest
2287 public const int HTTP_METHOD = 0;
2288 public const int HTTP_MIMETYPE = 1;
2289 public const int HTTP_BODY_MAXLENGTH = 2;
2290 public const int HTTP_VERIFY_CERT = 3;
2291
2292 public const int PRIM_MATERIAL = 2;
2293 public const int PRIM_PHYSICS = 3;
2294 public const int PRIM_TEMP_ON_REZ = 4;
2295 public const int PRIM_PHANTOM = 5;
2296 public const int PRIM_POSITION = 6;
2297 public const int PRIM_SIZE = 7;
2298 public const int PRIM_ROTATION = 8;
2299 public const int PRIM_TYPE = 9;
2300 public const int PRIM_TEXTURE = 17;
2301 public const int PRIM_COLOR = 18;
2302 public const int PRIM_BUMP_SHINY = 19;
2303 public const int PRIM_FULLBRIGHT = 20;
2304 public const int PRIM_FLEXIBLE = 21;
2305 public const int PRIM_TEXGEN = 22;
2306 public const int PRIM_CAST_SHADOWS = 24; // Not implemented, here for completeness sake
2307 public const int PRIM_POINT_LIGHT = 23; // Huh?
2308 public const int PRIM_GLOW = 25;
2309 public const int PRIM_TEXGEN_DEFAULT = 0;
2310 public const int PRIM_TEXGEN_PLANAR = 1;
2311
2312 public const int PRIM_TYPE_BOX = 0;
2313 public const int PRIM_TYPE_CYLINDER = 1;
2314 public const int PRIM_TYPE_PRISM = 2;
2315 public const int PRIM_TYPE_SPHERE = 3;
2316 public const int PRIM_TYPE_TORUS = 4;
2317 public const int PRIM_TYPE_TUBE = 5;
2318 public const int PRIM_TYPE_RING = 6;
2319 public const int PRIM_TYPE_SCULPT = 7;
2320
2321 public const int PRIM_HOLE_DEFAULT = 0;
2322 public const int PRIM_HOLE_CIRCLE = 16;
2323 public const int PRIM_HOLE_SQUARE = 32;
2324 public const int PRIM_HOLE_TRIANGLE = 48;
2325
2326 public const int PRIM_MATERIAL_STONE = 0;
2327 public const int PRIM_MATERIAL_METAL = 1;
2328 public const int PRIM_MATERIAL_GLASS = 2;
2329 public const int PRIM_MATERIAL_WOOD = 3;
2330 public const int PRIM_MATERIAL_FLESH = 4;
2331 public const int PRIM_MATERIAL_PLASTIC = 5;
2332 public const int PRIM_MATERIAL_RUBBER = 6;
2333 public const int PRIM_MATERIAL_LIGHT = 7;
2334
2335 public const int PRIM_SHINY_NONE = 0;
2336 public const int PRIM_SHINY_LOW = 1;
2337 public const int PRIM_SHINY_MEDIUM = 2;
2338 public const int PRIM_SHINY_HIGH = 3;
2339 public const int PRIM_BUMP_NONE = 0;
2340 public const int PRIM_BUMP_BRIGHT = 1;
2341 public const int PRIM_BUMP_DARK = 2;
2342 public const int PRIM_BUMP_WOOD = 3;
2343 public const int PRIM_BUMP_BARK = 4;
2344 public const int PRIM_BUMP_BRICKS = 5;
2345 public const int PRIM_BUMP_CHECKER = 6;
2346 public const int PRIM_BUMP_CONCRETE = 7;
2347 public const int PRIM_BUMP_TILE = 8;
2348 public const int PRIM_BUMP_STONE = 9;
2349 public const int PRIM_BUMP_DISKS = 10;
2350 public const int PRIM_BUMP_GRAVEL = 11;
2351 public const int PRIM_BUMP_BLOBS = 12;
2352 public const int PRIM_BUMP_SIDING = 13;
2353 public const int PRIM_BUMP_LARGETILE = 14;
2354 public const int PRIM_BUMP_STUCCO = 15;
2355 public const int PRIM_BUMP_SUCTION = 16;
2356 public const int PRIM_BUMP_WEAVE = 17;
2357
2358 public const int PRIM_SCULPT_TYPE_SPHERE = 1;
2359 public const int PRIM_SCULPT_TYPE_TORUS = 2;
2360 public const int PRIM_SCULPT_TYPE_PLANE = 3;
2361 public const int PRIM_SCULPT_TYPE_CYLINDER = 4;
2362
2363 public const int MASK_BASE = 0;
2364 public const int MASK_OWNER = 1;
2365 public const int MASK_GROUP = 2;
2366 public const int MASK_EVERYONE = 3;
2367 public const int MASK_NEXT = 4;
2368
2369 public const int PERM_TRANSFER = 8192;
2370 public const int PERM_MODIFY = 16384;
2371 public const int PERM_COPY = 32768;
2372 public const int PERM_MOVE = 524288;
2373 public const int PERM_ALL = 2147483647;
2374
2375 public const int PARCEL_MEDIA_COMMAND_STOP = 0;
2376 public const int PARCEL_MEDIA_COMMAND_PAUSE = 1;
2377 public const int PARCEL_MEDIA_COMMAND_PLAY = 2;
2378 public const int PARCEL_MEDIA_COMMAND_LOOP = 3;
2379 public const int PARCEL_MEDIA_COMMAND_TEXTURE = 4;
2380 public const int PARCEL_MEDIA_COMMAND_URL = 5;
2381 public const int PARCEL_MEDIA_COMMAND_TIME = 6;
2382 public const int PARCEL_MEDIA_COMMAND_AGENT = 7;
2383 public const int PARCEL_MEDIA_COMMAND_UNLOAD = 8;
2384 public const int PARCEL_MEDIA_COMMAND_AUTO_ALIGN = 9;
2385
2386 public const int PARCEL_FLAG_ALLOW_FLY = 0x1; // parcel allows flying
2387 public const int PARCEL_FLAG_ALLOW_SCRIPTS = 0x2; // parcel allows outside scripts
2388 public const int PARCEL_FLAG_ALLOW_LANDMARK = 0x8; // parcel allows landmarks to be created
2389 public const int PARCEL_FLAG_ALLOW_TERRAFORM = 0x10; // parcel allows anyone to terraform the land
2390 public const int PARCEL_FLAG_ALLOW_DAMAGE = 0x20; // parcel allows damage
2391 public const int PARCEL_FLAG_ALLOW_CREATE_OBJECTS = 0x40; // parcel allows anyone to create objects
2392 public const int PARCEL_FLAG_USE_ACCESS_GROUP = 0x100; // parcel limits access to a group
2393 public const int PARCEL_FLAG_USE_ACCESS_LIST = 0x200; // parcel limits access to a list of residents
2394 public const int PARCEL_FLAG_USE_BAN_LIST = 0x400; // parcel uses a ban list, including restricting access based on payment info
2395 public const int PARCEL_FLAG_USE_LAND_PASS_LIST = 0x800; // parcel allows passes to be purchased
2396 public const int PARCEL_FLAG_LOCAL_SOUND_ONLY = 0x8000; // parcel restricts spatialized sound to the parcel
2397 public const int PARCEL_FLAG_RESTRICT_PUSHOBJECT = 0x200000; // parcel restricts llPushObject
2398 public const int PARCEL_FLAG_ALLOW_GROUP_SCRIPTS = 0x2000000; // parcel allows scripts owned by group
2399 public const int PARCEL_FLAG_ALLOW_CREATE_GROUP_OBJECTS = 0x4000000; // parcel allows group object creation
2400 public const int PARCEL_FLAG_ALLOW_ALL_OBJECT_ENTRY = 0x8000000; // parcel allows objects owned by any user to enter
2401 public const int PARCEL_FLAG_ALLOW_GROUP_OBJECT_ENTRY = 0x10000000; // parcel allows with the same group to enter
2402
2403 public const int REGION_FLAG_ALLOW_DAMAGE = 0x1; // region is entirely damage enabled
2404 public const int REGION_FLAG_FIXED_SUN = 0x10; // region has a fixed sun position
2405 public const int REGION_FLAG_BLOCK_TERRAFORM = 0x40; // region terraforming disabled
2406 public const int REGION_FLAG_SANDBOX = 0x100; // region is a sandbox
2407 public const int REGION_FLAG_DISABLE_COLLISIONS = 0x1000; // region has disabled collisions
2408 public const int REGION_FLAG_DISABLE_PHYSICS = 0x4000; // region has disabled physics
2409 public const int REGION_FLAG_BLOCK_FLY = 0x80000; // region blocks flying
2410 public const int REGION_FLAG_ALLOW_DIRECT_TELEPORT = 0x100000; // region allows direct teleports
2411 public const int REGION_FLAG_RESTRICT_PUSHOBJECT = 0x400000; // region restricts llPushObject
2412
2413 public const int PAY_HIDE = -1;
2414 public const int PAY_DEFAULT = -2;
2415
2416 public const string NULL_KEY = "00000000-0000-0000-0000-000000000000";
2417 public const string EOF = "\n\n\n";
2418 public const double PI = 3.14159274f;
2419 public const double TWO_PI = 6.28318548f;
2420 public const double PI_BY_TWO = 1.57079637f;
2421 public const double DEG_TO_RAD = 0.01745329238f;
2422 public const double RAD_TO_DEG = 57.29578f;
2423 public const double SQRT2 = 1.414213538f;
2424 public const int STRING_TRIM_HEAD = 1;
2425 public const int STRING_TRIM_TAIL = 2;
2426 public const int STRING_TRIM = 3;
2427 public const int LIST_STAT_RANGE = 0;
2428 public const int LIST_STAT_MIN = 1;
2429 public const int LIST_STAT_MAX = 2;
2430 public const int LIST_STAT_MEAN = 3;
2431 public const int LIST_STAT_MEDIAN = 4;
2432 public const int LIST_STAT_STD_DEV = 5;
2433 public const int LIST_STAT_SUM = 6;
2434 public const int LIST_STAT_SUM_SQUARES = 7;
2435 public const int LIST_STAT_NUM_COUNT = 8;
2436 public const int LIST_STAT_GEOMETRIC_MEAN = 9;
2437 public const int LIST_STAT_HARMONIC_MEAN = 100;
2438
2439 //ParcelPrim Categories
2440 public const int PARCEL_COUNT_TOTAL = 0;
2441 public const int PARCEL_COUNT_OWNER = 1;
2442 public const int PARCEL_COUNT_GROUP = 2;
2443 public const int PARCEL_COUNT_OTHER = 3;
2444 public const int PARCEL_COUNT_SELECTED = 4;
2445 public const int PARCEL_COUNT_TEMP = 5;
2446
2447 public const int DEBUG_CHANNEL = 0x7FFFFFFF;
2448 public const int PUBLIC_CHANNEL = 0x00000000;
2449
2450 public const int OBJECT_NAME = 1;
2451 public const int OBJECT_DESC = 2;
2452 public const int OBJECT_POS = 3;
2453 public const int OBJECT_ROT = 4;
2454 public const int OBJECT_VELOCITY = 5;
2455 public const int OBJECT_OWNER = 6;
2456 public const int OBJECT_GROUP = 7;
2457 public const int OBJECT_CREATOR = 8;
2458
2459 // Can not be public const?
2460 public static readonly LSL_Vector ZERO_VECTOR = new LSL_Vector(0f, 0f, 0f);
2461 public static readonly LSL_Rotation ZERO_ROTATION = new LSL_Rotation(0f, 0f, 0f, 1f);
2462
2463 // constants for llSetCameraParams
2464 public const int CAMERA_PITCH = 0;
2465 public const int CAMERA_FOCUS_OFFSET = 1;
2466 public const int CAMERA_FOCUS_OFFSET_X = 2;
2467 public const int CAMERA_FOCUS_OFFSET_Y = 3;
2468 public const int CAMERA_FOCUS_OFFSET_Z = 4;
2469 public const int CAMERA_POSITION_LAG = 5;
2470 public const int CAMERA_FOCUS_LAG = 6;
2471 public const int CAMERA_DISTANCE = 7;
2472 public const int CAMERA_BEHINDNESS_ANGLE = 8;
2473 public const int CAMERA_BEHINDNESS_LAG = 9;
2474 public const int CAMERA_POSITION_THRESHOLD = 10;
2475 public const int CAMERA_FOCUS_THRESHOLD = 11;
2476 public const int CAMERA_ACTIVE = 12;
2477 public const int CAMERA_POSITION = 13;
2478 public const int CAMERA_POSITION_X = 14;
2479 public const int CAMERA_POSITION_Y = 15;
2480 public const int CAMERA_POSITION_Z = 16;
2481 public const int CAMERA_FOCUS = 17;
2482 public const int CAMERA_FOCUS_X = 18;
2483 public const int CAMERA_FOCUS_Y = 19;
2484 public const int CAMERA_FOCUS_Z = 20;
2485 public const int CAMERA_POSITION_LOCKED = 21;
2486 public const int CAMERA_FOCUS_LOCKED = 22;
2487
2488 // constants for llGetParcelDetails
2489 public const int PARCEL_DETAILS_NAME = 0;
2490 public const int PARCEL_DETAILS_DESC = 1;
2491 public const int PARCEL_DETAILS_OWNER = 2;
2492 public const int PARCEL_DETAILS_GROUP = 3;
2493 public const int PARCEL_DETAILS_AREA = 4;
2494 }
2495}