diff options
author | Snoopy Pfeffer | 2012-03-27 22:30:02 +0200 |
---|---|---|
committer | Snoopy Pfeffer | 2012-03-27 22:30:02 +0200 |
commit | 19837ff4dd8b01cf1f0a458cafc02c56be48bf66 (patch) | |
tree | d9e8bf835e92442c0020a653a4a4e6c2ba325c76 /OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs | |
parent | Merge branch 'master' of ssh://snoopy@opensimulator.org/var/git/opensim (diff) | |
download | opensim-SC_OLD-19837ff4dd8b01cf1f0a458cafc02c56be48bf66.zip opensim-SC_OLD-19837ff4dd8b01cf1f0a458cafc02c56be48bf66.tar.gz opensim-SC_OLD-19837ff4dd8b01cf1f0a458cafc02c56be48bf66.tar.bz2 opensim-SC_OLD-19837ff4dd8b01cf1f0a458cafc02c56be48bf66.tar.xz |
Two new scripting functions osInviteToGroup(userID) and osEjectFromGroup(userID) that invite/eject users to/from groups the object containing the script is set to. These functions also work for closed groups.
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs | 10 |
1 files changed, 10 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 09e5992..680cefb4 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs | |||
@@ -868,5 +868,15 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase | |||
868 | { | 868 | { |
869 | return m_OSSL_Functions.osGetInventoryDesc(item); | 869 | return m_OSSL_Functions.osGetInventoryDesc(item); |
870 | } | 870 | } |
871 | |||
872 | public LSL_Integer osInviteToGroup(LSL_Key agentId) | ||
873 | { | ||
874 | return m_OSSL_Functions.osInviteToGroup(agentId); | ||
875 | } | ||
876 | |||
877 | public LSL_Integer osEjectFromGroup(LSL_Key agentId) | ||
878 | { | ||
879 | return m_OSSL_Functions.osEjectFromGroup(agentId); | ||
880 | } | ||
871 | } | 881 | } |
872 | } | 882 | } |