mirror of
https://github.com/opensim/opensim.git
synced 2026-06-03 09:06:32 +08:00
The current API for MRM is quite sparse, this patch supplies basic support for accessing the task inventory of object.
17 lines
377 B
C#
17 lines
377 B
C#
using System;
|
|
using OpenMetaverse;
|
|
|
|
namespace OpenSim.Region.OptionalModules.Scripting.Minimodule
|
|
{
|
|
|
|
/// <summary>
|
|
/// This implements the methods needed to operate on individual inventory items.
|
|
/// </summary>
|
|
public interface IInventoryItem
|
|
{
|
|
int Type { get; }
|
|
UUID AssetID { get; }
|
|
T RetreiveAsset<T>() where T : OpenMetaverse.Asset, new();
|
|
}
|
|
}
|