diff options
author | Charles Krinke | 2009-06-29 21:47:47 +0000 |
---|---|---|
committer | Charles Krinke | 2009-06-29 21:47:47 +0000 |
commit | 6942eaed5b3d8065ebf01dc465e905ca456c0fa4 (patch) | |
tree | ba35780085d13474160ea9a39d2a83b5e401f6a4 /OpenSim/Region/OptionalModules/Scripting/Minimodule/Interfaces/IInventoryItem.cs | |
parent | Thanks StrawberryFride, for a patch that fixes MSSQL migration: (diff) | |
download | opensim-SC_OLD-6942eaed5b3d8065ebf01dc465e905ca456c0fa4.zip opensim-SC_OLD-6942eaed5b3d8065ebf01dc465e905ca456c0fa4.tar.gz opensim-SC_OLD-6942eaed5b3d8065ebf01dc465e905ca456c0fa4.tar.bz2 opensim-SC_OLD-6942eaed5b3d8065ebf01dc465e905ca456c0fa4.tar.xz |
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.
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/OptionalModules/Scripting/Minimodule/Interfaces/IInventoryItem.cs | 16 |
1 files changed, 16 insertions, 0 deletions
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 @@ | |||
1 | using System; | ||
2 | using OpenMetaverse; | ||
3 | |||
4 | namespace OpenSim.Region.OptionalModules.Scripting.Minimodule | ||
5 | { | ||
6 | |||
7 | /// <summary> | ||
8 | /// This implements the methods needed to operate on individual inventory items. | ||
9 | /// </summary> | ||
10 | public interface IInventoryItem | ||
11 | { | ||
12 | int Type { get; } | ||
13 | UUID AssetID { get; } | ||
14 | T RetreiveAsset<T>() where T : OpenMetaverse.Asset, new(); | ||
15 | } | ||
16 | } | ||