29 using System.Collections.Generic;
31 using OpenSim.Framework;
38 public static class ScriptUtils
47 public static UUID GetAssetIdFromItemName(
SceneObjectPart part,
string name,
int type)
51 if (item != null && item.
Type == type)
65 public static UUID GetAssetIdFromKeyOrItemName(
SceneObjectPart part,
string identifier)
72 if (!UUID.TryParse(identifier, out key))
93 public static UUID GetAssetIdFromKeyOrItemName(
SceneObjectPart part,
string identifier, AssetType type)
97 if (!UUID.TryParse(identifier, out key))
100 if (item != null && item.
Type == (
int)type)
Represents an item in a task inventory
OpenSim.Region.ScriptEngine.Shared.LSL_Types.LSLString key
Interactive OpenSim region server