OpenSim
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Public Member Functions | Static Public Attributes | Protected Attributes | Properties | List of all members
OpenSim.Framework.AvatarWearable Class Reference

Public Member Functions

 AvatarWearable ()
 
 AvatarWearable (UUID itemID, UUID assetID)
 
 AvatarWearable (OSDArray args)
 
OSD Pack ()
 
void Unpack (OSDArray args)
 
void Add (UUID itemID, UUID assetID)
 
void Wear (WearableItem item)
 
void Wear (UUID itemID, UUID assetID)
 
void Clear ()
 
void RemoveItem (UUID itemID)
 
void RemoveAsset (UUID assetID)
 
UUID GetAsset (UUID itemID)
 

Static Public Attributes

static readonly int BODY = 0
 
static readonly int SKIN = 1
 
static readonly int HAIR = 2
 
static readonly int EYES = 3
 
static readonly int SHIRT = 4
 
static readonly int PANTS = 5
 
static readonly int SHOES = 6
 
static readonly int SOCKS = 7
 
static readonly int JACKET = 8
 
static readonly int GLOVES = 9
 
static readonly int UNDERSHIRT = 10
 
static readonly int UNDERPANTS = 11
 
static readonly int SKIRT = 12
 
static readonly int MAX_BASICWEARABLES = 13
 
static readonly int ALPHA = 13
 
static readonly int TATTOO = 14
 
static readonly int LEGACY_VERSION_MAX_WEARABLES = 15
 
static readonly UUID DEFAULT_BODY_ITEM = new UUID("66c41e39-38f9-f75a-024e-585989bfaba9")
 
static readonly UUID DEFAULT_BODY_ASSET = new UUID("66c41e39-38f9-f75a-024e-585989bfab73")
 
static readonly UUID DEFAULT_HAIR_ITEM = new UUID("d342e6c1-b9d2-11dc-95ff-0800200c9a66")
 
static readonly UUID DEFAULT_HAIR_ASSET = new UUID("d342e6c0-b9d2-11dc-95ff-0800200c9a66")
 
static readonly UUID DEFAULT_SKIN_ITEM = new UUID("77c41e39-38f9-f75a-024e-585989bfabc9")
 
static readonly UUID DEFAULT_SKIN_ASSET = new UUID("77c41e39-38f9-f75a-024e-585989bbabbb")
 
static readonly UUID DEFAULT_EYES_ITEM = new UUID("cdc31054-eed8-4021-994f-4e0c6e861b50")
 
static readonly UUID DEFAULT_EYES_ASSET = new UUID("4bb6fa4d-1cd2-498a-a84c-95c1a0e745a7")
 
static readonly UUID DEFAULT_SHIRT_ITEM = new UUID("77c41e39-38f9-f75a-0000-585989bf0000")
 
static readonly UUID DEFAULT_SHIRT_ASSET = new UUID("00000000-38f9-1111-024e-222222111110")
 
static readonly UUID DEFAULT_PANTS_ITEM = new UUID("77c41e39-38f9-f75a-0000-5859892f1111")
 
static readonly UUID DEFAULT_PANTS_ASSET = new UUID("00000000-38f9-1111-024e-222222111120")
 

Protected Attributes

Dictionary< UUID, UUID > m_items = new Dictionary<UUID, UUID>()
 
List< UUID > m_ids = new List<UUID>()
 

Properties

int Count [get]
 
WearableItem this[int idx] [get]
 
static AvatarWearable[] DefaultWearables [get]
 

Detailed Description

Definition at line 47 of file AvatarWearable.cs.

Constructor & Destructor Documentation

OpenSim.Framework.AvatarWearable.AvatarWearable ( )
inline

Definition at line 103 of file AvatarWearable.cs.

OpenSim.Framework.AvatarWearable.AvatarWearable ( UUID  itemID,
UUID  assetID 
)
inline

Definition at line 107 of file AvatarWearable.cs.

OpenSim.Framework.AvatarWearable.AvatarWearable ( OSDArray  args)
inline

Definition at line 112 of file AvatarWearable.cs.

Member Function Documentation

void OpenSim.Framework.AvatarWearable.Add ( UUID  itemID,
UUID  assetID 
)
inline

Definition at line 147 of file AvatarWearable.cs.

void OpenSim.Framework.AvatarWearable.Clear ( )
inline

Definition at line 174 of file AvatarWearable.cs.

UUID OpenSim.Framework.AvatarWearable.GetAsset ( UUID  itemID)
inline

Definition at line 220 of file AvatarWearable.cs.

OSD OpenSim.Framework.AvatarWearable.Pack ( )
inline

Definition at line 117 of file AvatarWearable.cs.

void OpenSim.Framework.AvatarWearable.RemoveAsset ( UUID  assetID)
inline

Definition at line 189 of file AvatarWearable.cs.

void OpenSim.Framework.AvatarWearable.RemoveItem ( UUID  itemID)
inline

Definition at line 180 of file AvatarWearable.cs.

void OpenSim.Framework.AvatarWearable.Unpack ( OSDArray  args)
inline

Definition at line 132 of file AvatarWearable.cs.

void OpenSim.Framework.AvatarWearable.Wear ( WearableItem  item)
inline

Definition at line 163 of file AvatarWearable.cs.

Here is the caller graph for this function:

void OpenSim.Framework.AvatarWearable.Wear ( UUID  itemID,
UUID  assetID 
)
inline

Definition at line 168 of file AvatarWearable.cs.

Member Data Documentation

readonly int OpenSim.Framework.AvatarWearable.ALPHA = 13
static

Definition at line 68 of file AvatarWearable.cs.

readonly int OpenSim.Framework.AvatarWearable.BODY = 0
static

Definition at line 52 of file AvatarWearable.cs.

readonly UUID OpenSim.Framework.AvatarWearable.DEFAULT_BODY_ASSET = new UUID("66c41e39-38f9-f75a-024e-585989bfab73")
static

Definition at line 77 of file AvatarWearable.cs.

readonly UUID OpenSim.Framework.AvatarWearable.DEFAULT_BODY_ITEM = new UUID("66c41e39-38f9-f75a-024e-585989bfaba9")
static

Definition at line 76 of file AvatarWearable.cs.

readonly UUID OpenSim.Framework.AvatarWearable.DEFAULT_EYES_ASSET = new UUID("4bb6fa4d-1cd2-498a-a84c-95c1a0e745a7")
static

Definition at line 86 of file AvatarWearable.cs.

readonly UUID OpenSim.Framework.AvatarWearable.DEFAULT_EYES_ITEM = new UUID("cdc31054-eed8-4021-994f-4e0c6e861b50")
static

Definition at line 85 of file AvatarWearable.cs.

readonly UUID OpenSim.Framework.AvatarWearable.DEFAULT_HAIR_ASSET = new UUID("d342e6c0-b9d2-11dc-95ff-0800200c9a66")
static

Definition at line 80 of file AvatarWearable.cs.

readonly UUID OpenSim.Framework.AvatarWearable.DEFAULT_HAIR_ITEM = new UUID("d342e6c1-b9d2-11dc-95ff-0800200c9a66")
static

Definition at line 79 of file AvatarWearable.cs.

readonly UUID OpenSim.Framework.AvatarWearable.DEFAULT_PANTS_ASSET = new UUID("00000000-38f9-1111-024e-222222111120")
static

Definition at line 92 of file AvatarWearable.cs.

readonly UUID OpenSim.Framework.AvatarWearable.DEFAULT_PANTS_ITEM = new UUID("77c41e39-38f9-f75a-0000-5859892f1111")
static

Definition at line 91 of file AvatarWearable.cs.

readonly UUID OpenSim.Framework.AvatarWearable.DEFAULT_SHIRT_ASSET = new UUID("00000000-38f9-1111-024e-222222111110")
static

Definition at line 89 of file AvatarWearable.cs.

readonly UUID OpenSim.Framework.AvatarWearable.DEFAULT_SHIRT_ITEM = new UUID("77c41e39-38f9-f75a-0000-585989bf0000")
static

Definition at line 88 of file AvatarWearable.cs.

readonly UUID OpenSim.Framework.AvatarWearable.DEFAULT_SKIN_ASSET = new UUID("77c41e39-38f9-f75a-024e-585989bbabbb")
static

Definition at line 83 of file AvatarWearable.cs.

readonly UUID OpenSim.Framework.AvatarWearable.DEFAULT_SKIN_ITEM = new UUID("77c41e39-38f9-f75a-024e-585989bfabc9")
static

Definition at line 82 of file AvatarWearable.cs.

readonly int OpenSim.Framework.AvatarWearable.EYES = 3
static

Definition at line 55 of file AvatarWearable.cs.

readonly int OpenSim.Framework.AvatarWearable.GLOVES = 9
static

Definition at line 61 of file AvatarWearable.cs.

readonly int OpenSim.Framework.AvatarWearable.HAIR = 2
static

Definition at line 54 of file AvatarWearable.cs.

readonly int OpenSim.Framework.AvatarWearable.JACKET = 8
static

Definition at line 60 of file AvatarWearable.cs.

readonly int OpenSim.Framework.AvatarWearable.LEGACY_VERSION_MAX_WEARABLES = 15
static

Definition at line 71 of file AvatarWearable.cs.

List<UUID> OpenSim.Framework.AvatarWearable.m_ids = new List<UUID>()
protected

Definition at line 101 of file AvatarWearable.cs.

Dictionary<UUID, UUID> OpenSim.Framework.AvatarWearable.m_items = new Dictionary<UUID, UUID>()
protected

Definition at line 100 of file AvatarWearable.cs.

readonly int OpenSim.Framework.AvatarWearable.MAX_BASICWEARABLES = 13
static

Definition at line 66 of file AvatarWearable.cs.

readonly int OpenSim.Framework.AvatarWearable.PANTS = 5
static

Definition at line 57 of file AvatarWearable.cs.

readonly int OpenSim.Framework.AvatarWearable.SHIRT = 4
static

Definition at line 56 of file AvatarWearable.cs.

readonly int OpenSim.Framework.AvatarWearable.SHOES = 6
static

Definition at line 58 of file AvatarWearable.cs.

readonly int OpenSim.Framework.AvatarWearable.SKIN = 1
static

Definition at line 53 of file AvatarWearable.cs.

readonly int OpenSim.Framework.AvatarWearable.SKIRT = 12
static

Definition at line 64 of file AvatarWearable.cs.

readonly int OpenSim.Framework.AvatarWearable.SOCKS = 7
static

Definition at line 59 of file AvatarWearable.cs.

readonly int OpenSim.Framework.AvatarWearable.TATTOO = 14
static

Definition at line 69 of file AvatarWearable.cs.

readonly int OpenSim.Framework.AvatarWearable.UNDERPANTS = 11
static

Definition at line 63 of file AvatarWearable.cs.

readonly int OpenSim.Framework.AvatarWearable.UNDERSHIRT = 10
static

Definition at line 62 of file AvatarWearable.cs.

Property Documentation

int OpenSim.Framework.AvatarWearable.Count
get

Definition at line 143 of file AvatarWearable.cs.

AvatarWearable [] OpenSim.Framework.AvatarWearable.DefaultWearables
staticget

Definition at line 228 of file AvatarWearable.cs.

WearableItem OpenSim.Framework.AvatarWearable.this[int idx]
get

Definition at line 210 of file AvatarWearable.cs.


The documentation for this class was generated from the following file: