diff options
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/EventManager.cs')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/EventManager.cs | 64 |
1 files changed, 32 insertions, 32 deletions
diff --git a/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/EventManager.cs b/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/EventManager.cs index a32a132..250a5df 100644 --- a/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/EventManager.cs +++ b/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/EventManager.cs | |||
@@ -76,13 +76,13 @@ namespace OpenSim.Region.ScriptEngine.Common.ScriptEngineBase | |||
76 | public void changed(uint localID, uint change) | 76 | public void changed(uint localID, uint change) |
77 | { | 77 | { |
78 | // Add to queue for all scripts in localID, Object pass change. | 78 | // Add to queue for all scripts in localID, Object pass change. |
79 | myScriptEngine.m_EventQueueManager.AddToObjectQueue(localID,"changed", new object[] {(int) change}); | 79 | myScriptEngine.m_EventQueueManager.AddToObjectQueue(localID, "changed", EventQueueManager.llDetectNull, new object[] { (int)change }); |
80 | } | 80 | } |
81 | 81 | ||
82 | public void touch_start(uint localID, LLVector3 offsetPos, IClientAPI remoteClient) | 82 | public void touch_start(uint localID, LLVector3 offsetPos, IClientAPI remoteClient) |
83 | { | 83 | { |
84 | // Add to queue for all scripts in ObjectID object | 84 | // Add to queue for all scripts in ObjectID object |
85 | myScriptEngine.m_EventQueueManager.AddToObjectQueue(localID, "touch_start", new object[] {(int) 1}); | 85 | myScriptEngine.m_EventQueueManager.AddToObjectQueue(localID, "touch_start", EventQueueManager.llDetectNull, new object[] { (int)1 }); |
86 | } | 86 | } |
87 | 87 | ||
88 | public void OnRezScript(uint localID, LLUUID itemID, string script) | 88 | public void OnRezScript(uint localID, LLUUID itemID, string script) |
@@ -109,47 +109,47 @@ namespace OpenSim.Region.ScriptEngine.Common.ScriptEngineBase | |||
109 | 109 | ||
110 | public void state_exit(uint localID, LLUUID itemID) | 110 | public void state_exit(uint localID, LLUUID itemID) |
111 | { | 111 | { |
112 | myScriptEngine.m_EventQueueManager.AddToScriptQueue(localID, itemID, "state_exit"); | 112 | myScriptEngine.m_EventQueueManager.AddToScriptQueue(localID, itemID, "state_exit", EventQueueManager.llDetectNull); |
113 | } | 113 | } |
114 | 114 | ||
115 | public void touch(uint localID, LLUUID itemID) | 115 | public void touch(uint localID, LLUUID itemID) |
116 | { | 116 | { |
117 | myScriptEngine.m_EventQueueManager.AddToScriptQueue(localID, itemID, "touch"); | 117 | myScriptEngine.m_EventQueueManager.AddToScriptQueue(localID, itemID, "touch", EventQueueManager.llDetectNull); |
118 | } | 118 | } |
119 | 119 | ||
120 | public void touch_end(uint localID, LLUUID itemID) | 120 | public void touch_end(uint localID, LLUUID itemID) |
121 | { | 121 | { |
122 | myScriptEngine.m_EventQueueManager.AddToScriptQueue(localID, itemID, "touch_end"); | 122 | myScriptEngine.m_EventQueueManager.AddToScriptQueue(localID, itemID, "touch_end", EventQueueManager.llDetectNull); |
123 | } | 123 | } |
124 | 124 | ||
125 | public void collision_start(uint localID, LLUUID itemID) | 125 | public void collision_start(uint localID, LLUUID itemID) |
126 | { | 126 | { |
127 | myScriptEngine.m_EventQueueManager.AddToScriptQueue(localID, itemID, "collision_start"); | 127 | myScriptEngine.m_EventQueueManager.AddToScriptQueue(localID, itemID, "collision_start", EventQueueManager.llDetectNull); |
128 | } | 128 | } |
129 | 129 | ||
130 | public void collision(uint localID, LLUUID itemID) | 130 | public void collision(uint localID, LLUUID itemID) |
131 | { | 131 | { |
132 | myScriptEngine.m_EventQueueManager.AddToScriptQueue(localID, itemID, "collision"); | 132 | myScriptEngine.m_EventQueueManager.AddToScriptQueue(localID, itemID, "collision", EventQueueManager.llDetectNull); |
133 | } | 133 | } |
134 | 134 | ||
135 | public void collision_end(uint localID, LLUUID itemID) | 135 | public void collision_end(uint localID, LLUUID itemID) |
136 | { | 136 | { |
137 | myScriptEngine.m_EventQueueManager.AddToScriptQueue(localID, itemID, "collision_end"); | 137 | myScriptEngine.m_EventQueueManager.AddToScriptQueue(localID, itemID, "collision_end", EventQueueManager.llDetectNull); |
138 | } | 138 | } |
139 | 139 | ||
140 | public void land_collision_start(uint localID, LLUUID itemID) | 140 | public void land_collision_start(uint localID, LLUUID itemID) |
141 | { | 141 | { |
142 | myScriptEngine.m_EventQueueManager.AddToScriptQueue(localID, itemID, "land_collision_start"); | 142 | myScriptEngine.m_EventQueueManager.AddToScriptQueue(localID, itemID, "land_collision_start", EventQueueManager.llDetectNull); |
143 | } | 143 | } |
144 | 144 | ||
145 | public void land_collision(uint localID, LLUUID itemID) | 145 | public void land_collision(uint localID, LLUUID itemID) |
146 | { | 146 | { |
147 | myScriptEngine.m_EventQueueManager.AddToScriptQueue(localID, itemID, "land_collision"); | 147 | myScriptEngine.m_EventQueueManager.AddToScriptQueue(localID, itemID, "land_collision", EventQueueManager.llDetectNull); |
148 | } | 148 | } |
149 | 149 | ||
150 | public void land_collision_end(uint localID, LLUUID itemID) | 150 | public void land_collision_end(uint localID, LLUUID itemID) |
151 | { | 151 | { |
152 | myScriptEngine.m_EventQueueManager.AddToScriptQueue(localID, itemID, "land_collision_end"); | 152 | myScriptEngine.m_EventQueueManager.AddToScriptQueue(localID, itemID, "land_collision_end", EventQueueManager.llDetectNull); |
153 | } | 153 | } |
154 | 154 | ||
155 | // Handled by long commands | 155 | // Handled by long commands |
@@ -160,108 +160,108 @@ namespace OpenSim.Region.ScriptEngine.Common.ScriptEngineBase | |||
160 | 160 | ||
161 | public void listen(uint localID, LLUUID itemID) | 161 | public void listen(uint localID, LLUUID itemID) |
162 | { | 162 | { |
163 | myScriptEngine.m_EventQueueManager.AddToScriptQueue(localID, itemID, "listen"); | 163 | myScriptEngine.m_EventQueueManager.AddToScriptQueue(localID, itemID, "listen", EventQueueManager.llDetectNull); |
164 | } | 164 | } |
165 | 165 | ||
166 | public void on_rez(uint localID, LLUUID itemID) | 166 | public void on_rez(uint localID, LLUUID itemID) |
167 | { | 167 | { |
168 | myScriptEngine.m_EventQueueManager.AddToScriptQueue(localID, itemID, "on_rez"); | 168 | myScriptEngine.m_EventQueueManager.AddToScriptQueue(localID, itemID, "on_rez", EventQueueManager.llDetectNull); |
169 | } | 169 | } |
170 | 170 | ||
171 | public void sensor(uint localID, LLUUID itemID) | 171 | public void sensor(uint localID, LLUUID itemID) |
172 | { | 172 | { |
173 | myScriptEngine.m_EventQueueManager.AddToScriptQueue(localID, itemID, "sensor"); | 173 | myScriptEngine.m_EventQueueManager.AddToScriptQueue(localID, itemID, "sensor", EventQueueManager.llDetectNull); |
174 | } | 174 | } |
175 | 175 | ||
176 | public void no_sensor(uint localID, LLUUID itemID) | 176 | public void no_sensor(uint localID, LLUUID itemID) |
177 | { | 177 | { |
178 | myScriptEngine.m_EventQueueManager.AddToScriptQueue(localID, itemID, "no_sensor"); | 178 | myScriptEngine.m_EventQueueManager.AddToScriptQueue(localID, itemID, "no_sensor", EventQueueManager.llDetectNull); |
179 | } | 179 | } |
180 | 180 | ||
181 | public void control(uint localID, LLUUID itemID) | 181 | public void control(uint localID, LLUUID itemID) |
182 | { | 182 | { |
183 | myScriptEngine.m_EventQueueManager.AddToScriptQueue(localID, itemID, "control"); | 183 | myScriptEngine.m_EventQueueManager.AddToScriptQueue(localID, itemID, "control", EventQueueManager.llDetectNull); |
184 | } | 184 | } |
185 | 185 | ||
186 | public void money(uint localID, LLUUID itemID) | 186 | public void money(uint localID, LLUUID itemID) |
187 | { | 187 | { |
188 | myScriptEngine.m_EventQueueManager.AddToScriptQueue(localID, itemID, "money"); | 188 | myScriptEngine.m_EventQueueManager.AddToScriptQueue(localID, itemID, "money", EventQueueManager.llDetectNull); |
189 | } | 189 | } |
190 | 190 | ||
191 | public void email(uint localID, LLUUID itemID) | 191 | public void email(uint localID, LLUUID itemID) |
192 | { | 192 | { |
193 | myScriptEngine.m_EventQueueManager.AddToScriptQueue(localID, itemID, "email"); | 193 | myScriptEngine.m_EventQueueManager.AddToScriptQueue(localID, itemID, "email", EventQueueManager.llDetectNull); |
194 | } | 194 | } |
195 | 195 | ||
196 | public void at_target(uint localID, LLUUID itemID) | 196 | public void at_target(uint localID, LLUUID itemID) |
197 | { | 197 | { |
198 | myScriptEngine.m_EventQueueManager.AddToScriptQueue(localID, itemID, "at_target"); | 198 | myScriptEngine.m_EventQueueManager.AddToScriptQueue(localID, itemID, "at_target", EventQueueManager.llDetectNull); |
199 | } | 199 | } |
200 | 200 | ||
201 | public void not_at_target(uint localID, LLUUID itemID) | 201 | public void not_at_target(uint localID, LLUUID itemID) |
202 | { | 202 | { |
203 | myScriptEngine.m_EventQueueManager.AddToScriptQueue(localID, itemID, "not_at_target"); | 203 | myScriptEngine.m_EventQueueManager.AddToScriptQueue(localID, itemID, "not_at_target", EventQueueManager.llDetectNull); |
204 | } | 204 | } |
205 | 205 | ||
206 | public void at_rot_target(uint localID, LLUUID itemID) | 206 | public void at_rot_target(uint localID, LLUUID itemID) |
207 | { | 207 | { |
208 | myScriptEngine.m_EventQueueManager.AddToScriptQueue(localID, itemID, "at_rot_target"); | 208 | myScriptEngine.m_EventQueueManager.AddToScriptQueue(localID, itemID, "at_rot_target", EventQueueManager.llDetectNull); |
209 | } | 209 | } |
210 | 210 | ||
211 | public void not_at_rot_target(uint localID, LLUUID itemID) | 211 | public void not_at_rot_target(uint localID, LLUUID itemID) |
212 | { | 212 | { |
213 | myScriptEngine.m_EventQueueManager.AddToScriptQueue(localID, itemID, "not_at_rot_target"); | 213 | myScriptEngine.m_EventQueueManager.AddToScriptQueue(localID, itemID, "not_at_rot_target", EventQueueManager.llDetectNull); |
214 | } | 214 | } |
215 | 215 | ||
216 | public void run_time_permissions(uint localID, LLUUID itemID) | 216 | public void run_time_permissions(uint localID, LLUUID itemID) |
217 | { | 217 | { |
218 | myScriptEngine.m_EventQueueManager.AddToScriptQueue(localID, itemID, "run_time_permissions"); | 218 | myScriptEngine.m_EventQueueManager.AddToScriptQueue(localID, itemID, "run_time_permissions", EventQueueManager.llDetectNull); |
219 | } | 219 | } |
220 | 220 | ||
221 | public void changed(uint localID, LLUUID itemID) | 221 | public void changed(uint localID, LLUUID itemID) |
222 | { | 222 | { |
223 | myScriptEngine.m_EventQueueManager.AddToScriptQueue(localID, itemID, "changed"); | 223 | myScriptEngine.m_EventQueueManager.AddToScriptQueue(localID, itemID, "changed", EventQueueManager.llDetectNull); |
224 | } | 224 | } |
225 | 225 | ||
226 | public void attach(uint localID, LLUUID itemID) | 226 | public void attach(uint localID, LLUUID itemID) |
227 | { | 227 | { |
228 | myScriptEngine.m_EventQueueManager.AddToScriptQueue(localID, itemID, "attach"); | 228 | myScriptEngine.m_EventQueueManager.AddToScriptQueue(localID, itemID, "attach", EventQueueManager.llDetectNull); |
229 | } | 229 | } |
230 | 230 | ||
231 | public void dataserver(uint localID, LLUUID itemID) | 231 | public void dataserver(uint localID, LLUUID itemID) |
232 | { | 232 | { |
233 | myScriptEngine.m_EventQueueManager.AddToScriptQueue(localID, itemID, "dataserver"); | 233 | myScriptEngine.m_EventQueueManager.AddToScriptQueue(localID, itemID, "dataserver", EventQueueManager.llDetectNull); |
234 | } | 234 | } |
235 | 235 | ||
236 | public void link_message(uint localID, LLUUID itemID) | 236 | public void link_message(uint localID, LLUUID itemID) |
237 | { | 237 | { |
238 | myScriptEngine.m_EventQueueManager.AddToScriptQueue(localID, itemID, "link_message"); | 238 | myScriptEngine.m_EventQueueManager.AddToScriptQueue(localID, itemID, "link_message", EventQueueManager.llDetectNull); |
239 | } | 239 | } |
240 | 240 | ||
241 | public void moving_start(uint localID, LLUUID itemID) | 241 | public void moving_start(uint localID, LLUUID itemID) |
242 | { | 242 | { |
243 | myScriptEngine.m_EventQueueManager.AddToScriptQueue(localID, itemID, "moving_start"); | 243 | myScriptEngine.m_EventQueueManager.AddToScriptQueue(localID, itemID, "moving_start", EventQueueManager.llDetectNull); |
244 | } | 244 | } |
245 | 245 | ||
246 | public void moving_end(uint localID, LLUUID itemID) | 246 | public void moving_end(uint localID, LLUUID itemID) |
247 | { | 247 | { |
248 | myScriptEngine.m_EventQueueManager.AddToScriptQueue(localID, itemID, "moving_end"); | 248 | myScriptEngine.m_EventQueueManager.AddToScriptQueue(localID, itemID, "moving_end", EventQueueManager.llDetectNull); |
249 | } | 249 | } |
250 | 250 | ||
251 | public void object_rez(uint localID, LLUUID itemID) | 251 | public void object_rez(uint localID, LLUUID itemID) |
252 | { | 252 | { |
253 | myScriptEngine.m_EventQueueManager.AddToScriptQueue(localID, itemID, "object_rez"); | 253 | myScriptEngine.m_EventQueueManager.AddToScriptQueue(localID, itemID, "object_rez", EventQueueManager.llDetectNull); |
254 | } | 254 | } |
255 | 255 | ||
256 | public void remote_data(uint localID, LLUUID itemID) | 256 | public void remote_data(uint localID, LLUUID itemID) |
257 | { | 257 | { |
258 | myScriptEngine.m_EventQueueManager.AddToScriptQueue(localID, itemID, "remote_data"); | 258 | myScriptEngine.m_EventQueueManager.AddToScriptQueue(localID, itemID, "remote_data", EventQueueManager.llDetectNull); |
259 | } | 259 | } |
260 | 260 | ||
261 | // Handled by long commands | 261 | // Handled by long commands |
262 | public void http_response(uint localID, LLUUID itemID) | 262 | public void http_response(uint localID, LLUUID itemID) |
263 | { | 263 | { |
264 | // myScriptEngine.m_EventQueueManager.AddToScriptQueue(localID, itemID, "http_response"); | 264 | // myScriptEngine.m_EventQueueManager.AddToScriptQueue(localID, itemID, "http_response", EventQueueManager.llDetectNull); |
265 | } | 265 | } |
266 | } | 266 | } |
267 | } \ No newline at end of file | 267 | } \ No newline at end of file |