diff options
author | lbsa71 | 2008-07-08 11:25:18 +0000 |
---|---|---|
committer | lbsa71 | 2008-07-08 11:25:18 +0000 |
commit | d9b802bb26ee659a68270ac05ea0406389afc883 (patch) | |
tree | 54a53c343d14e15a6236a0c36daa228f07ae57b6 /OpenSim/Framework/AvatarWearingArgs.cs | |
parent | RegionInfo.configMember can be null for dynamically created regions (diff) | |
download | opensim-SC_OLD-d9b802bb26ee659a68270ac05ea0406389afc883.zip opensim-SC_OLD-d9b802bb26ee659a68270ac05ea0406389afc883.tar.gz opensim-SC_OLD-d9b802bb26ee659a68270ac05ea0406389afc883.tar.bz2 opensim-SC_OLD-d9b802bb26ee659a68270ac05ea0406389afc883.tar.xz |
* Split out various classes from IClientAPI into their own files, in accordance with code standards
Diffstat (limited to 'OpenSim/Framework/AvatarWearingArgs.cs')
-rw-r--r-- | OpenSim/Framework/AvatarWearingArgs.cs | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/OpenSim/Framework/AvatarWearingArgs.cs b/OpenSim/Framework/AvatarWearingArgs.cs new file mode 100644 index 0000000..2e64601 --- /dev/null +++ b/OpenSim/Framework/AvatarWearingArgs.cs | |||
@@ -0,0 +1,36 @@ | |||
1 | using System; | ||
2 | using System.Collections.Generic; | ||
3 | using libsecondlife; | ||
4 | |||
5 | namespace OpenSim.Framework | ||
6 | { | ||
7 | public class AvatarWearingArgs : EventArgs | ||
8 | { | ||
9 | private List<Wearable> m_nowWearing = new List<Wearable>(); | ||
10 | |||
11 | /// <summary> | ||
12 | /// | ||
13 | /// </summary> | ||
14 | public List<Wearable> NowWearing | ||
15 | { | ||
16 | get { return m_nowWearing; } | ||
17 | set { m_nowWearing = value; } | ||
18 | } | ||
19 | |||
20 | #region Nested type: Wearable | ||
21 | |||
22 | public class Wearable | ||
23 | { | ||
24 | public LLUUID ItemID = new LLUUID("00000000-0000-0000-0000-000000000000"); | ||
25 | public byte Type = 0; | ||
26 | |||
27 | public Wearable(LLUUID itemId, byte type) | ||
28 | { | ||
29 | ItemID = itemId; | ||
30 | Type = type; | ||
31 | } | ||
32 | } | ||
33 | |||
34 | #endregion | ||
35 | } | ||
36 | } \ No newline at end of file | ||