aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/AvatarWearingArgs.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Framework/AvatarWearingArgs.cs')
-rw-r--r--OpenSim/Framework/AvatarWearingArgs.cs36
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 @@
1using System;
2using System.Collections.Generic;
3using libsecondlife;
4
5namespace 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