diff options
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Api/Runtime')
3 files changed, 33 insertions, 29 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Constants.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Constants.cs index acff8fb..13b855f 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Constants.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Constants.cs | |||
@@ -515,29 +515,29 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase | |||
515 | public const string TEXTURE_PLYWOOD = "89556747-24cb-43ed-920b-47caed15465f"; | 515 | public const string TEXTURE_PLYWOOD = "89556747-24cb-43ed-920b-47caed15465f"; |
516 | public const string TEXTURE_TRANSPARENT = "8dcd4a48-2d37-4909-9f78-f7a9eb4ef903"; | 516 | public const string TEXTURE_TRANSPARENT = "8dcd4a48-2d37-4909-9f78-f7a9eb4ef903"; |
517 | public const string TEXTURE_MEDIA = "8b5fec65-8d8d-9dc5-cda8-8fdf2716e361"; | 517 | public const string TEXTURE_MEDIA = "8b5fec65-8d8d-9dc5-cda8-8fdf2716e361"; |
518 | 518 | ||
519 | // Constants for osGetRegionStats | 519 | // Constants for osGetRegionStats |
520 | public const int STATS_TIME_DILATION = 0; | 520 | public const int STATS_TIME_DILATION = 0; |
521 | public const int STATS_SIM_FPS = 1; | 521 | public const int STATS_SIM_FPS = 1; |
522 | public const int STATS_PHYSICS_FPS = 2; | 522 | public const int STATS_PHYSICS_FPS = 2; |
523 | public const int STATS_AGENT_UPDATES = 3; | 523 | public const int STATS_AGENT_UPDATES = 3; |
524 | public const int STATS_ROOT_AGENTS = 4; | 524 | public const int STATS_ROOT_AGENTS = 4; |
525 | public const int STATS_CHILD_AGENTS = 5; | 525 | public const int STATS_CHILD_AGENTS = 5; |
526 | public const int STATS_TOTAL_PRIMS = 6; | 526 | public const int STATS_TOTAL_PRIMS = 6; |
527 | public const int STATS_ACTIVE_PRIMS = 7; | 527 | public const int STATS_ACTIVE_PRIMS = 7; |
528 | public const int STATS_FRAME_MS = 8; | 528 | public const int STATS_FRAME_MS = 8; |
529 | public const int STATS_NET_MS = 9; | 529 | public const int STATS_NET_MS = 9; |
530 | public const int STATS_PHYSICS_MS = 10; | 530 | public const int STATS_PHYSICS_MS = 10; |
531 | public const int STATS_IMAGE_MS = 11; | 531 | public const int STATS_IMAGE_MS = 11; |
532 | public const int STATS_OTHER_MS = 12; | 532 | public const int STATS_OTHER_MS = 12; |
533 | public const int STATS_IN_PACKETS_PER_SECOND = 13; | 533 | public const int STATS_IN_PACKETS_PER_SECOND = 13; |
534 | public const int STATS_OUT_PACKETS_PER_SECOND = 14; | 534 | public const int STATS_OUT_PACKETS_PER_SECOND = 14; |
535 | public const int STATS_UNACKED_BYTES = 15; | 535 | public const int STATS_UNACKED_BYTES = 15; |
536 | public const int STATS_AGENT_MS = 16; | 536 | public const int STATS_AGENT_MS = 16; |
537 | public const int STATS_PENDING_DOWNLOADS = 17; | 537 | public const int STATS_PENDING_DOWNLOADS = 17; |
538 | public const int STATS_PENDING_UPLOADS = 18; | 538 | public const int STATS_PENDING_UPLOADS = 18; |
539 | public const int STATS_ACTIVE_SCRIPTS = 19; | 539 | public const int STATS_ACTIVE_SCRIPTS = 19; |
540 | public const int STATS_SCRIPT_LPS = 20; | 540 | public const int STATS_SCRIPT_LPS = 20; |
541 | 541 | ||
542 | } | 542 | } |
543 | } | 543 | } |
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs index 2ec6226..3870af3 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs | |||
@@ -632,11 +632,11 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase | |||
632 | { | 632 | { |
633 | return m_OSSL_Functions.osGetRegionMapTexture(regionName); | 633 | return m_OSSL_Functions.osGetRegionMapTexture(regionName); |
634 | } | 634 | } |
635 | 635 | ||
636 | public LSL_List osGetRegionStats() | 636 | public LSL_List osGetRegionStats() |
637 | { | 637 | { |
638 | return m_OSSL_Functions.osGetRegionStats(); | 638 | return m_OSSL_Functions.osGetRegionStats(); |
639 | } | 639 | } |
640 | 640 | ||
641 | /// <summary> | 641 | /// <summary> |
642 | /// Returns the amount of memory in use by the Simulator Daemon. | 642 | /// Returns the amount of memory in use by the Simulator Daemon. |
@@ -649,7 +649,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase | |||
649 | } | 649 | } |
650 | public void osKickAvatar(string FirstName,string SurName,string alert) | 650 | public void osKickAvatar(string FirstName,string SurName,string alert) |
651 | { | 651 | { |
652 | m_OSSL_Functions.osKickAvatar( FirstName, SurName, alert); | 652 | m_OSSL_Functions.osKickAvatar(FirstName, SurName, alert); |
653 | } | 653 | } |
654 | public void osSetSpeed(string UUID, float SpeedModifier) | 654 | public void osSetSpeed(string UUID, float SpeedModifier) |
655 | { | 655 | { |
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/ScriptBase.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/ScriptBase.cs index a44abb0..b138da3 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/ScriptBase.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/ScriptBase.cs | |||
@@ -128,6 +128,10 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase | |||
128 | m_InitialValues = GetVars(); | 128 | m_InitialValues = GetVars(); |
129 | } | 129 | } |
130 | 130 | ||
131 | public virtual void StateChange(string newState) | ||
132 | { | ||
133 | } | ||
134 | |||
131 | public void Close() | 135 | public void Close() |
132 | { | 136 | { |
133 | // m_sponser.Close(); | 137 | // m_sponser.Close(); |