aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/scripting
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/scripting')
-rw-r--r--OpenSim/Region/Environment/Scenes/scripting/ScriptAPI.cs32
1 files changed, 32 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Scenes/scripting/ScriptAPI.cs b/OpenSim/Region/Environment/Scenes/scripting/ScriptAPI.cs
index 894713f..702653e 100644
--- a/OpenSim/Region/Environment/Scenes/scripting/ScriptAPI.cs
+++ b/OpenSim/Region/Environment/Scenes/scripting/ScriptAPI.cs
@@ -4,6 +4,7 @@ using System.Text;
4using Key = libsecondlife.LLUUID; 4using Key = libsecondlife.LLUUID;
5using Rotation = libsecondlife.LLQuaternion; 5using Rotation = libsecondlife.LLQuaternion;
6using Vector = libsecondlife.LLVector3; 6using Vector = libsecondlife.LLVector3;
7using LSLList = System.Collections.Generic.List<string>;
7 8
8 9
9using OpenSim.Region.Environment.Scenes; 10using OpenSim.Region.Environment.Scenes;
@@ -131,5 +132,36 @@ namespace OpenSim.Region.Environment.Scripting
131 { 132 {
132 return; 133 return;
133 } 134 }
135
136 [Obsolete("Unimplemented")]
137 public void osBreakLink()
138 {
139 return;
140 }
141
142 public LSLList osCSV2List(string src)
143 {
144 LSLList retVal = new LSLList();
145 retVal.AddRange(src.Split(','));
146
147 return retVal;
148 }
149
150 public int osCeil(float val)
151 {
152 return (int)Math.Ceiling(val);
153 }
154
155 [Obsolete("Unimplemented")]
156 public void osCloseRemoteDataChannel(Key channel)
157 {
158 return;
159 }
160
161 [Obsolete("Unimplemented")]
162 public float osCloud(Vector offset)
163 {
164 return 0.0;
165 }
134 } 166 }
135} 167}