diff options
Diffstat (limited to 'OpenSim/Region/ScriptEngine/RemoteServer/EventManager.cs')
-rw-r--r-- | OpenSim/Region/ScriptEngine/RemoteServer/EventManager.cs | 70 |
1 files changed, 35 insertions, 35 deletions
diff --git a/OpenSim/Region/ScriptEngine/RemoteServer/EventManager.cs b/OpenSim/Region/ScriptEngine/RemoteServer/EventManager.cs index 21888fa..afb7311 100644 --- a/OpenSim/Region/ScriptEngine/RemoteServer/EventManager.cs +++ b/OpenSim/Region/ScriptEngine/RemoteServer/EventManager.cs | |||
@@ -28,7 +28,7 @@ | |||
28 | /* Original code: Tedd Hansen */ | 28 | /* Original code: Tedd Hansen */ |
29 | 29 | ||
30 | using System; | 30 | using System; |
31 | using libsecondlife; | 31 | using OpenMetaverse; |
32 | using OpenSim.Framework; | 32 | using OpenSim.Framework; |
33 | using OpenSim.Region.ScriptEngine.Common; | 33 | using OpenSim.Region.ScriptEngine.Common; |
34 | using OpenSim.Region.ScriptEngine.Common.TRPC; | 34 | using OpenSim.Region.ScriptEngine.Common.TRPC; |
@@ -77,7 +77,7 @@ namespace OpenSim.Region.ScriptEngine.RemoteServer | |||
77 | } | 77 | } |
78 | } | 78 | } |
79 | 79 | ||
80 | public void OnRezScript(uint localID, LLUUID itemID, string script, int startParam, bool postOnRez) | 80 | public void OnRezScript(uint localID, UUID itemID, string script, int startParam, bool postOnRez) |
81 | { | 81 | { |
82 | // WE ARE CREATING A NEW SCRIPT ... CREATE SCRIPT, GET A REMOTEID THAT WE MAP FROM LOCALID | 82 | // WE ARE CREATING A NEW SCRIPT ... CREATE SCRIPT, GET A REMOTEID THAT WE MAP FROM LOCALID |
83 | myScriptEngine.Log.Info("[RemoteEngine]: Creating new script (with connection)"); | 83 | myScriptEngine.Log.Info("[RemoteEngine]: Creating new script (with connection)"); |
@@ -90,7 +90,7 @@ namespace OpenSim.Region.ScriptEngine.RemoteServer | |||
90 | //remoteScript[localID].Events().OnRezScript(localID, itemID, script); | 90 | //remoteScript[localID].Events().OnRezScript(localID, itemID, script); |
91 | } | 91 | } |
92 | 92 | ||
93 | public void touch_start(uint localID, LLVector3 offsetPos, IClientAPI remoteClient) | 93 | public void touch_start(uint localID, Vector3 offsetPos, IClientAPI remoteClient) |
94 | { | 94 | { |
95 | //remoteScript[localID].Events.touch_start(localID, offsetPos, remoteClient); | 95 | //remoteScript[localID].Events.touch_start(localID, offsetPos, remoteClient); |
96 | RPC.SendCommand(myScriptServerID, "touch_start", offsetPos, "How to transfer IClientAPI?"); | 96 | RPC.SendCommand(myScriptServerID, "touch_start", offsetPos, "How to transfer IClientAPI?"); |
@@ -100,162 +100,162 @@ namespace OpenSim.Region.ScriptEngine.RemoteServer | |||
100 | // PLACEHOLDERS -- CODE WILL CHANGE! | 100 | // PLACEHOLDERS -- CODE WILL CHANGE! |
101 | 101 | ||
102 | 102 | ||
103 | //public void OnRemoveScript(uint localID, LLUUID itemID) | 103 | //public void OnRemoveScript(uint localID, UUID itemID) |
104 | //{ | 104 | //{ |
105 | // remoteScript[localID].Events.OnRemoveScript(localID, itemID); | 105 | // remoteScript[localID].Events.OnRemoveScript(localID, itemID); |
106 | //} | 106 | //} |
107 | 107 | ||
108 | //public void state_exit(uint localID, LLUUID itemID) | 108 | //public void state_exit(uint localID, UUID itemID) |
109 | //{ | 109 | //{ |
110 | // remoteScript[localID].Events.state_exit(localID, itemID); | 110 | // remoteScript[localID].Events.state_exit(localID, itemID); |
111 | //} | 111 | //} |
112 | 112 | ||
113 | //public void touch(uint localID, LLUUID itemID) | 113 | //public void touch(uint localID, UUID itemID) |
114 | //{ | 114 | //{ |
115 | // remoteScript[localID].Events.touch(localID, itemID); | 115 | // remoteScript[localID].Events.touch(localID, itemID); |
116 | //} | 116 | //} |
117 | 117 | ||
118 | //public void touch_end(uint localID, LLUUID itemID) | 118 | //public void touch_end(uint localID, UUID itemID) |
119 | //{ | 119 | //{ |
120 | // remoteScript[localID].Events.touch_end(localID, itemID); | 120 | // remoteScript[localID].Events.touch_end(localID, itemID); |
121 | //} | 121 | //} |
122 | 122 | ||
123 | //public void collision_start(uint localID, LLUUID itemID) | 123 | //public void collision_start(uint localID, UUID itemID) |
124 | //{ | 124 | //{ |
125 | // remoteScript[localID].Events.collision_start(localID, itemID); | 125 | // remoteScript[localID].Events.collision_start(localID, itemID); |
126 | //} | 126 | //} |
127 | 127 | ||
128 | //public void collision(uint localID, LLUUID itemID) | 128 | //public void collision(uint localID, UUID itemID) |
129 | //{ | 129 | //{ |
130 | // remoteScript[localID].Events.collision(localID, itemID); | 130 | // remoteScript[localID].Events.collision(localID, itemID); |
131 | //} | 131 | //} |
132 | 132 | ||
133 | //public void collision_end(uint localID, LLUUID itemID) | 133 | //public void collision_end(uint localID, UUID itemID) |
134 | //{ | 134 | //{ |
135 | // remoteScript[localID].Events.collision_end(localID, itemID); | 135 | // remoteScript[localID].Events.collision_end(localID, itemID); |
136 | //} | 136 | //} |
137 | 137 | ||
138 | //public void land_collision_start(uint localID, LLUUID itemID) | 138 | //public void land_collision_start(uint localID, UUID itemID) |
139 | //{ | 139 | //{ |
140 | // remoteScript[localID].Events.land_collision_start(localID, itemID); | 140 | // remoteScript[localID].Events.land_collision_start(localID, itemID); |
141 | //} | 141 | //} |
142 | 142 | ||
143 | //public void land_collision(uint localID, LLUUID itemID) | 143 | //public void land_collision(uint localID, UUID itemID) |
144 | //{ | 144 | //{ |
145 | // remoteScript[localID].Events.land_collision(localID, itemID); | 145 | // remoteScript[localID].Events.land_collision(localID, itemID); |
146 | //} | 146 | //} |
147 | 147 | ||
148 | //public void land_collision_end(uint localID, LLUUID itemID) | 148 | //public void land_collision_end(uint localID, UUID itemID) |
149 | //{ | 149 | //{ |
150 | // remoteScript[localID].Events.land_collision_end(localID, itemID); | 150 | // remoteScript[localID].Events.land_collision_end(localID, itemID); |
151 | //} | 151 | //} |
152 | 152 | ||
153 | //public void timer(uint localID, LLUUID itemID) | 153 | //public void timer(uint localID, UUID itemID) |
154 | //{ | 154 | //{ |
155 | // remoteScript[localID].Events.timer(localID, itemID); | 155 | // remoteScript[localID].Events.timer(localID, itemID); |
156 | //} | 156 | //} |
157 | 157 | ||
158 | //public void listen(uint localID, LLUUID itemID) | 158 | //public void listen(uint localID, UUID itemID) |
159 | //{ | 159 | //{ |
160 | // remoteScript[localID].Events.listen(localID, itemID); | 160 | // remoteScript[localID].Events.listen(localID, itemID); |
161 | //} | 161 | //} |
162 | 162 | ||
163 | //public void on_rez(uint localID, LLUUID itemID) | 163 | //public void on_rez(uint localID, UUID itemID) |
164 | //{ | 164 | //{ |
165 | // remoteScript[localID].Events.on_rez(localID, itemID); | 165 | // remoteScript[localID].Events.on_rez(localID, itemID); |
166 | //} | 166 | //} |
167 | 167 | ||
168 | //public void sensor(uint localID, LLUUID itemID) | 168 | //public void sensor(uint localID, UUID itemID) |
169 | //{ | 169 | //{ |
170 | // remoteScript[localID].Events.sensor(localID, itemID); | 170 | // remoteScript[localID].Events.sensor(localID, itemID); |
171 | //} | 171 | //} |
172 | 172 | ||
173 | //public void no_sensor(uint localID, LLUUID itemID) | 173 | //public void no_sensor(uint localID, UUID itemID) |
174 | //{ | 174 | //{ |
175 | // remoteScript[localID].Events.no_sensor(localID, itemID); | 175 | // remoteScript[localID].Events.no_sensor(localID, itemID); |
176 | //} | 176 | //} |
177 | 177 | ||
178 | //public void control(uint localID, LLUUID itemID) | 178 | //public void control(uint localID, UUID itemID) |
179 | //{ | 179 | //{ |
180 | // remoteScript[localID].Events.control(localID, itemID); | 180 | // remoteScript[localID].Events.control(localID, itemID); |
181 | //} | 181 | //} |
182 | 182 | ||
183 | //public void money(uint localID, LLUUID itemID) | 183 | //public void money(uint localID, UUID itemID) |
184 | //{ | 184 | //{ |
185 | // remoteScript[localID].Events.money(localID, itemID); | 185 | // remoteScript[localID].Events.money(localID, itemID); |
186 | //} | 186 | //} |
187 | 187 | ||
188 | //public void email(uint localID, LLUUID itemID) | 188 | //public void email(uint localID, UUID itemID) |
189 | //{ | 189 | //{ |
190 | // remoteScript[localID].Events.email(localID, itemID); | 190 | // remoteScript[localID].Events.email(localID, itemID); |
191 | //} | 191 | //} |
192 | 192 | ||
193 | //public void at_target(uint localID, LLUUID itemID) | 193 | //public void at_target(uint localID, UUID itemID) |
194 | //{ | 194 | //{ |
195 | // remoteScript[localID].Events.at_target(localID, itemID); | 195 | // remoteScript[localID].Events.at_target(localID, itemID); |
196 | //} | 196 | //} |
197 | 197 | ||
198 | //public void not_at_target(uint localID, LLUUID itemID) | 198 | //public void not_at_target(uint localID, UUID itemID) |
199 | //{ | 199 | //{ |
200 | // remoteScript[localID].Events.not_at_target(localID, itemID); | 200 | // remoteScript[localID].Events.not_at_target(localID, itemID); |
201 | //} | 201 | //} |
202 | 202 | ||
203 | //public void at_rot_target(uint localID, LLUUID itemID) | 203 | //public void at_rot_target(uint localID, UUID itemID) |
204 | //{ | 204 | //{ |
205 | // remoteScript[localID].Events.at_rot_target(localID, itemID); | 205 | // remoteScript[localID].Events.at_rot_target(localID, itemID); |
206 | //} | 206 | //} |
207 | 207 | ||
208 | //public void not_at_rot_target(uint localID, LLUUID itemID) | 208 | //public void not_at_rot_target(uint localID, UUID itemID) |
209 | //{ | 209 | //{ |
210 | // remoteScript[localID].Events.not_at_rot_target(localID, itemID); | 210 | // remoteScript[localID].Events.not_at_rot_target(localID, itemID); |
211 | //} | 211 | //} |
212 | 212 | ||
213 | //public void run_time_permissions(uint localID, LLUUID itemID) | 213 | //public void run_time_permissions(uint localID, UUID itemID) |
214 | //{ | 214 | //{ |
215 | // remoteScript[localID].Events.run_time_permissions(localID, itemID); | 215 | // remoteScript[localID].Events.run_time_permissions(localID, itemID); |
216 | //} | 216 | //} |
217 | 217 | ||
218 | //public void changed(uint localID, LLUUID itemID) | 218 | //public void changed(uint localID, UUID itemID) |
219 | //{ | 219 | //{ |
220 | // remoteScript[localID].Events.changed(localID, itemID); | 220 | // remoteScript[localID].Events.changed(localID, itemID); |
221 | //} | 221 | //} |
222 | 222 | ||
223 | //public void attach(uint localID, LLUUID itemID) | 223 | //public void attach(uint localID, UUID itemID) |
224 | //{ | 224 | //{ |
225 | // remoteScript[localID].Events.attach(localID, itemID); | 225 | // remoteScript[localID].Events.attach(localID, itemID); |
226 | //} | 226 | //} |
227 | 227 | ||
228 | //public void dataserver(uint localID, LLUUID itemID) | 228 | //public void dataserver(uint localID, UUID itemID) |
229 | //{ | 229 | //{ |
230 | // remoteScript[localID].Events.dataserver(localID, itemID); | 230 | // remoteScript[localID].Events.dataserver(localID, itemID); |
231 | //} | 231 | //} |
232 | 232 | ||
233 | //public void link_message(uint localID, LLUUID itemID) | 233 | //public void link_message(uint localID, UUID itemID) |
234 | //{ | 234 | //{ |
235 | // remoteScript[localID].Events.link_message(localID, itemID); | 235 | // remoteScript[localID].Events.link_message(localID, itemID); |
236 | //} | 236 | //} |
237 | 237 | ||
238 | //public void moving_start(uint localID, LLUUID itemID) | 238 | //public void moving_start(uint localID, UUID itemID) |
239 | //{ | 239 | //{ |
240 | // remoteScript[localID].Events.moving_start(localID, itemID); | 240 | // remoteScript[localID].Events.moving_start(localID, itemID); |
241 | //} | 241 | //} |
242 | 242 | ||
243 | //public void moving_end(uint localID, LLUUID itemID) | 243 | //public void moving_end(uint localID, UUID itemID) |
244 | //{ | 244 | //{ |
245 | // remoteScript[localID].Events.moving_end(localID, itemID); | 245 | // remoteScript[localID].Events.moving_end(localID, itemID); |
246 | //} | 246 | //} |
247 | 247 | ||
248 | //public void object_rez(uint localID, LLUUID itemID) | 248 | //public void object_rez(uint localID, UUID itemID) |
249 | //{ | 249 | //{ |
250 | // remoteScript[localID].Events.object_rez(localID, itemID); | 250 | // remoteScript[localID].Events.object_rez(localID, itemID); |
251 | //} | 251 | //} |
252 | 252 | ||
253 | //public void remote_data(uint localID, LLUUID itemID) | 253 | //public void remote_data(uint localID, UUID itemID) |
254 | //{ | 254 | //{ |
255 | // remoteScript[localID].Events.remote_data(localID, itemID); | 255 | // remoteScript[localID].Events.remote_data(localID, itemID); |
256 | //} | 256 | //} |
257 | 257 | ||
258 | //public void http_response(uint localID, LLUUID itemID) | 258 | //public void http_response(uint localID, UUID itemID) |
259 | //{ | 259 | //{ |
260 | // remoteScript[localID].Events.http_response(localID, itemID); | 260 | // remoteScript[localID].Events.http_response(localID, itemID); |
261 | //} | 261 | //} |