diff options
author | Tedd Hansen | 2008-02-25 20:10:17 +0000 |
---|---|---|
committer | Tedd Hansen | 2008-02-25 20:10:17 +0000 |
commit | dbb205c18160cfe031e4076ac650eb37b9613b86 (patch) | |
tree | 0b2202ddbc710755e807bed06a0e84a795ca2e20 /OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs | |
parent | eol (diff) | |
download | opensim-SC-dbb205c18160cfe031e4076ac650eb37b9613b86.zip opensim-SC-dbb205c18160cfe031e4076ac650eb37b9613b86.tar.gz opensim-SC-dbb205c18160cfe031e4076ac650eb37b9613b86.tar.bz2 opensim-SC-dbb205c18160cfe031e4076ac650eb37b9613b86.tar.xz |
Moved AsyncCommandManager into separate classes under "plugins".
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs b/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs index f9bcc06..7d4219b 100644 --- a/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs +++ b/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs | |||
@@ -371,7 +371,7 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
371 | catch | 371 | catch |
372 | { | 372 | { |
373 | } | 373 | } |
374 | m_ScriptEngine.m_ASYNCLSLCommandManager.SenseOnce(m_localID, m_itemID, name, keyID, type, range, arc, m_host); | 374 | m_ScriptEngine.m_ASYNCLSLCommandManager.m_SensorRepeat.SenseOnce(m_localID, m_itemID, name, keyID, type, range, arc, m_host); |
375 | 375 | ||
376 | return; | 376 | return; |
377 | // NotImplemented("llSensor"); | 377 | // NotImplemented("llSensor"); |
@@ -389,7 +389,7 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
389 | { | 389 | { |
390 | } | 390 | } |
391 | 391 | ||
392 | m_ScriptEngine.m_ASYNCLSLCommandManager.SetSenseRepeatEvent(m_localID, m_itemID, name, keyID, type, range, arc, rate, m_host); | 392 | m_ScriptEngine.m_ASYNCLSLCommandManager.m_SensorRepeat.SetSenseRepeatEvent(m_localID, m_itemID, name, keyID, type, range, arc, rate, m_host); |
393 | return; | 393 | return; |
394 | // NotImplemented("llSensorRepeat"); | 394 | // NotImplemented("llSensorRepeat"); |
395 | } | 395 | } |
@@ -397,7 +397,7 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
397 | public void llSensorRemove() | 397 | public void llSensorRemove() |
398 | { | 398 | { |
399 | m_host.AddScriptLPS(1); | 399 | m_host.AddScriptLPS(1); |
400 | m_ScriptEngine.m_ASYNCLSLCommandManager.UnSetSenseRepeaterEvents(m_localID, m_itemID); | 400 | m_ScriptEngine.m_ASYNCLSLCommandManager.m_SensorRepeat.UnSetSenseRepeaterEvents(m_localID, m_itemID); |
401 | return; | 401 | return; |
402 | // NotImplemented("llSensorRemove"); | 402 | // NotImplemented("llSensorRemove"); |
403 | } | 403 | } |
@@ -405,7 +405,7 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
405 | public string llDetectedName(int number) | 405 | public string llDetectedName(int number) |
406 | { | 406 | { |
407 | m_host.AddScriptLPS(1); | 407 | m_host.AddScriptLPS(1); |
408 | LSL_Types.list SenseList = m_ScriptEngine.m_ASYNCLSLCommandManager.GetSensorList(m_localID, m_itemID); | 408 | LSL_Types.list SenseList = m_ScriptEngine.m_ASYNCLSLCommandManager.m_SensorRepeat.GetSensorList(m_localID, m_itemID); |
409 | if ((number>0)&&(number <= SenseList.Length)) | 409 | if ((number>0)&&(number <= SenseList.Length)) |
410 | { | 410 | { |
411 | LLUUID SensedUUID = (LLUUID)SenseList.Data[number]; | 411 | LLUUID SensedUUID = (LLUUID)SenseList.Data[number]; |
@@ -427,7 +427,7 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
427 | 427 | ||
428 | public LLUUID uuidDetectedKey(int number) | 428 | public LLUUID uuidDetectedKey(int number) |
429 | { | 429 | { |
430 | LSL_Types.list SenseList = m_ScriptEngine.m_ASYNCLSLCommandManager.GetSensorList(m_localID, m_itemID); | 430 | LSL_Types.list SenseList = m_ScriptEngine.m_ASYNCLSLCommandManager.m_SensorRepeat.GetSensorList(m_localID, m_itemID); |
431 | if ((number >= 0) && (number < SenseList.Length)) | 431 | if ((number >= 0) && (number < SenseList.Length)) |
432 | { | 432 | { |
433 | LLUUID SensedUUID = (LLUUID)SenseList.Data[number]; | 433 | LLUUID SensedUUID = (LLUUID)SenseList.Data[number]; |
@@ -438,7 +438,7 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
438 | 438 | ||
439 | public EntityBase entityDetectedKey(int number) | 439 | public EntityBase entityDetectedKey(int number) |
440 | { | 440 | { |
441 | LSL_Types.list SenseList = m_ScriptEngine.m_ASYNCLSLCommandManager.GetSensorList(m_localID, m_itemID); | 441 | LSL_Types.list SenseList = m_ScriptEngine.m_ASYNCLSLCommandManager.m_SensorRepeat.GetSensorList(m_localID, m_itemID); |
442 | if ((number >= 0) && (number < SenseList.Length)) | 442 | if ((number >= 0) && (number < SenseList.Length)) |
443 | { | 443 | { |
444 | LLUUID SensedUUID = (LLUUID)SenseList.Data[number]; | 444 | LLUUID SensedUUID = (LLUUID)SenseList.Data[number]; |
@@ -1347,7 +1347,7 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
1347 | { | 1347 | { |
1348 | m_host.AddScriptLPS(1); | 1348 | m_host.AddScriptLPS(1); |
1349 | // Setting timer repeat | 1349 | // Setting timer repeat |
1350 | m_ScriptEngine.m_ASYNCLSLCommandManager.SetTimerEvent(m_localID, m_itemID, sec); | 1350 | m_ScriptEngine.m_ASYNCLSLCommandManager.m_Timer.SetTimerEvent(m_localID, m_itemID, sec); |
1351 | } | 1351 | } |
1352 | 1352 | ||
1353 | public void llSleep(double sec) | 1353 | public void llSleep(double sec) |