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