diff options
author | Justin Clark-Casey (justincc) | 2014-03-13 00:04:20 +0000 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2014-03-13 00:04:20 +0000 |
commit | 873eee543192632a7febb99aa77b53d14d926674 (patch) | |
tree | 24bf475fdabf0dac18a85072a54d9ee1e61a2ef9 /OpenSim/Region/ScriptEngine/Shared/Api/Runtime | |
parent | Only allow llBreakAllLinks() to work if script has received PERMISSION_CHANGE... (diff) | |
download | opensim-SC_OLD-873eee543192632a7febb99aa77b53d14d926674.zip opensim-SC_OLD-873eee543192632a7febb99aa77b53d14d926674.tar.gz opensim-SC_OLD-873eee543192632a7febb99aa77b53d14d926674.tar.bz2 opensim-SC_OLD-873eee543192632a7febb99aa77b53d14d926674.tar.xz |
Implement osForceBreakAllLinks().
Identical to llBreakAllLinks() except that it doesn't require the script to have link permissions.
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Api/Runtime')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs index 7d5e568..b436c52 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs | |||
@@ -552,6 +552,11 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase | |||
552 | m_OSSL_Functions.osForceBreakLink(linknum); | 552 | m_OSSL_Functions.osForceBreakLink(linknum); |
553 | } | 553 | } |
554 | 554 | ||
555 | public void osForceBreakAllLinks() | ||
556 | { | ||
557 | m_OSSL_Functions.osForceBreakAllLinks(); | ||
558 | } | ||
559 | |||
555 | public LSL_Integer osIsNpc(LSL_Key npc) | 560 | public LSL_Integer osIsNpc(LSL_Key npc) |
556 | { | 561 | { |
557 | return m_OSSL_Functions.osIsNpc(npc); | 562 | return m_OSSL_Functions.osIsNpc(npc); |