From fdf5274c257286d6e438a337e61761028ff8003a Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Wed, 20 Feb 2019 02:06:25 +0000 Subject: add osKickAvatar(LSL_Key agentKey, string alert) --- .../Region/ScriptEngine/Shared/Api/Interface/IOSSL_Api.cs | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'OpenSim/Region/ScriptEngine/Shared/Api/Interface/IOSSL_Api.cs') diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Interface/IOSSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Interface/IOSSL_Api.cs index 12e8103..67c0261 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Interface/IOSSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Interface/IOSSL_Api.cs @@ -379,15 +379,16 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api.Interfaces int osGetSimulatorMemory(); int osGetSimulatorMemoryKB(); - void osKickAvatar(string FirstName,string SurName,string alert); + void osKickAvatar(string FirstName, string SurName, string alert); + void osKickAvatar(LSL_Key agentId, string alert); void osSetSpeed(string UUID, LSL_Float SpeedModifier); void osSetOwnerSpeed(LSL_Float SpeedModifier); - LSL_Float osGetHealth(string avatar); - void osCauseHealing(string avatar, double healing); - void osSetHealth(string avatar, double health); - void osSetHealRate(string avatar, double health); - LSL_Float osGetHealRate(string avatar); - void osCauseDamage(string avatar, double damage); + LSL_Float osGetHealth(key agentId); + void osCauseHealing(key agentId, LSL_Float healing); + void osSetHealth(key agentId, LSL_Float health); + void osSetHealRate(key agentId, LSL_Float health); + LSL_Float osGetHealRate(key agentId); + void osCauseDamage(key avatar, LSL_Float damage); void osForceOtherSit(string avatar); void osForceOtherSit(string avatar, string target); LSL_List osGetPrimitiveParams(LSL_Key prim, LSL_List rules); -- cgit v1.1 From 16596b6ad0af373cccde83d8faa01fa996c1023a Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Thu, 21 Feb 2019 21:56:27 +0000 Subject: add LSL_Key osGetInventoryLastOwner(string itemNameorid) --- OpenSim/Region/ScriptEngine/Shared/Api/Interface/IOSSL_Api.cs | 1 + 1 file changed, 1 insertion(+) (limited to 'OpenSim/Region/ScriptEngine/Shared/Api/Interface/IOSSL_Api.cs') diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Interface/IOSSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Interface/IOSSL_Api.cs index 67c0261..7277577 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Interface/IOSSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Interface/IOSSL_Api.cs @@ -547,5 +547,6 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api.Interfaces LSL_Integer osApproxEquals(vector va, vector vb, LSL_Float margin); LSL_Integer osApproxEquals(rotation ra, rotation rb); LSL_Integer osApproxEquals(rotation ra, rotation rb, LSL_Float margin); + LSL_Key osGetInventoryLastOwner(string itemNameOrId); } } -- cgit v1.1 From bd27573130d4a40d678c81c687591708ab4e4f34 Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Thu, 21 Feb 2019 23:11:03 +0000 Subject: add LSL_String osGetInventoryName(LSL_Key itemId) and LSL_String osGetInventoryDescription(LSL_String itemNameOrId) --- OpenSim/Region/ScriptEngine/Shared/Api/Interface/IOSSL_Api.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'OpenSim/Region/ScriptEngine/Shared/Api/Interface/IOSSL_Api.cs') diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Interface/IOSSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Interface/IOSSL_Api.cs index 7277577..711108b 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Interface/IOSSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Interface/IOSSL_Api.cs @@ -547,6 +547,8 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api.Interfaces LSL_Integer osApproxEquals(vector va, vector vb, LSL_Float margin); LSL_Integer osApproxEquals(rotation ra, rotation rb); LSL_Integer osApproxEquals(rotation ra, rotation rb, LSL_Float margin); - LSL_Key osGetInventoryLastOwner(string itemNameOrId); + LSL_Key osGetInventoryLastOwner(LSL_String itemNameOrId); + LSL_String osGetInventoryName(LSL_Key itemId); + LSL_String osGetInventoryDescription(LSL_String itemNameOrId); } } -- cgit v1.1 From 6e05695244173435067408e5716cb4bd2a2c0aef Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Thu, 21 Feb 2019 23:41:49 +0000 Subject: add LSL_Key osGetLastChangedEventKey() ( it is a alias for lldetectedkey(0) but don't tell anyone --- OpenSim/Region/ScriptEngine/Shared/Api/Interface/IOSSL_Api.cs | 1 + 1 file changed, 1 insertion(+) (limited to 'OpenSim/Region/ScriptEngine/Shared/Api/Interface/IOSSL_Api.cs') diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Interface/IOSSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Interface/IOSSL_Api.cs index 711108b..8333af8 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Interface/IOSSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Interface/IOSSL_Api.cs @@ -550,5 +550,6 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api.Interfaces LSL_Key osGetInventoryLastOwner(LSL_String itemNameOrId); LSL_String osGetInventoryName(LSL_Key itemId); LSL_String osGetInventoryDescription(LSL_String itemNameOrId); + LSL_Key osGetLastChangedEventKey(); } } -- cgit v1.1 From d89a089ca266311568febc367f41f4217b7580d1 Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Fri, 22 Feb 2019 22:28:47 +0000 Subject: remove redundant osInventoryDescription() and improve osInventoryDesc() to do the same --- OpenSim/Region/ScriptEngine/Shared/Api/Interface/IOSSL_Api.cs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'OpenSim/Region/ScriptEngine/Shared/Api/Interface/IOSSL_Api.cs') diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Interface/IOSSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Interface/IOSSL_Api.cs index 8333af8..49b3f74 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Interface/IOSSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Interface/IOSSL_Api.cs @@ -401,8 +401,6 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api.Interfaces LSL_String osUnixTimeToTimestamp(LSL_Integer time); - LSL_String osGetInventoryDesc(string item); - LSL_Integer osInviteToGroup(LSL_Key agentId); LSL_Integer osEjectFromGroup(LSL_Key agentId); @@ -549,7 +547,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api.Interfaces LSL_Integer osApproxEquals(rotation ra, rotation rb, LSL_Float margin); LSL_Key osGetInventoryLastOwner(LSL_String itemNameOrId); LSL_String osGetInventoryName(LSL_Key itemId); - LSL_String osGetInventoryDescription(LSL_String itemNameOrId); + LSL_String osGetInventoryDesc(LSL_String itemNameOrId); LSL_Key osGetLastChangedEventKey(); } } -- cgit v1.1