From 6942eaed5b3d8065ebf01dc465e905ca456c0fa4 Mon Sep 17 00:00:00 2001
From: Charles Krinke
Date: Mon, 29 Jun 2009 21:47:47 +0000
Subject: Thank you kindly, Snowdrop, for a patch that solves: The current API
for MRM is quite sparse, this patch supplies basic support for accessing the
task inventory of object.
---
.../Scripting/Minimodule/Interfaces/IInventoryItem.cs | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
create mode 100644 OpenSim/Region/OptionalModules/Scripting/Minimodule/Interfaces/IInventoryItem.cs
(limited to 'OpenSim/Region/OptionalModules/Scripting/Minimodule/Interfaces/IInventoryItem.cs')
diff --git a/OpenSim/Region/OptionalModules/Scripting/Minimodule/Interfaces/IInventoryItem.cs b/OpenSim/Region/OptionalModules/Scripting/Minimodule/Interfaces/IInventoryItem.cs
new file mode 100644
index 0000000..7490dda
--- /dev/null
+++ b/OpenSim/Region/OptionalModules/Scripting/Minimodule/Interfaces/IInventoryItem.cs
@@ -0,0 +1,16 @@
+using System;
+using OpenMetaverse;
+
+namespace OpenSim.Region.OptionalModules.Scripting.Minimodule
+{
+
+ ///
+ /// This implements the methods needed to operate on individual inventory items.
+ ///
+ public interface IInventoryItem
+ {
+ int Type { get; }
+ UUID AssetID { get; }
+ T RetreiveAsset() where T : OpenMetaverse.Asset, new();
+ }
+}
--
cgit v1.1