From 893d40639ceb9e141693ef25b10487b402a7feeb Mon Sep 17 00:00:00 2001 From: Justin Clarke Casey Date: Fri, 9 May 2008 22:45:40 +0000 Subject: * Resolve mantis 1182. Doesn't actually implement llGiveInventoryList - merely corrects the signature so that "not implemented" message is displayed rather than a script compile failure --- OpenSim/Region/ScriptEngine/Common/BuiltIn_Commands_BaseClass.cs | 4 ++-- OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs | 2 +- OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands_Interface.cs | 3 ++- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/OpenSim/Region/ScriptEngine/Common/BuiltIn_Commands_BaseClass.cs b/OpenSim/Region/ScriptEngine/Common/BuiltIn_Commands_BaseClass.cs index aadad7b..afc3ff2 100644 --- a/OpenSim/Region/ScriptEngine/Common/BuiltIn_Commands_BaseClass.cs +++ b/OpenSim/Region/ScriptEngine/Common/BuiltIn_Commands_BaseClass.cs @@ -1353,9 +1353,9 @@ namespace OpenSim.Region.ScriptEngine.Common m_LSL_Functions.llGroundRepel(height, water, tau); } - public void llGiveInventoryList() + public void llGiveInventoryList(string destination, string category, LSL_Types.list inventory) { - m_LSL_Functions.llGiveInventoryList(); + m_LSL_Functions.llGiveInventoryList(destination, category, inventory); } public void llSetVehicleType(int type) diff --git a/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs b/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs index 8e56440..87c0450 100644 --- a/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs +++ b/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs @@ -4172,7 +4172,7 @@ namespace OpenSim.Region.ScriptEngine.Common NotImplemented("llGroundRepel"); } - public void llGiveInventoryList() + public void llGiveInventoryList(string destination, string category, LSL_Types.list inventory) { m_host.AddScriptLPS(1); NotImplemented("llGiveInventoryList"); diff --git a/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands_Interface.cs b/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands_Interface.cs index 57d0de1..369f6a7 100644 --- a/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands_Interface.cs +++ b/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands_Interface.cs @@ -445,7 +445,8 @@ namespace OpenSim.Region.ScriptEngine.Common void llParticleSystem(LSL_Types.list rules); //wiki: llGroundRepel(double height, integer water, double tau) void llGroundRepel(double height, int water, double tau); - void llGiveInventoryList(); + //wiki: llGiveInventoryList(string destination, string category, LSL_Types.list inventory) + void llGiveInventoryList(string destination, string category, LSL_Types.list inventory); //wiki: llSetVehicleType(integer type) void llSetVehicleType(int type); //wiki: llSetVehicledoubleParam(integer param, double value) -- cgit v1.1