aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/AvatarWearingArgs.cs
blob: dde74f99acf5436751e796caf94ca0fd7c988871 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
using System;
using System.Collections.Generic;
using OpenMetaverse;

namespace OpenSim.Framework
{
    public class AvatarWearingArgs : EventArgs
    {
        private List<Wearable> m_nowWearing = new List<Wearable>();

        /// <summary>
        ///
        /// </summary>
        public List<Wearable> NowWearing
        {
            get { return m_nowWearing; }
            set { m_nowWearing = value; }
        }

        #region Nested type: Wearable

        public class Wearable
        {
            public UUID ItemID = new UUID("00000000-0000-0000-0000-000000000000");
            public byte Type = 0;

            public Wearable(UUID itemId, byte type)
            {
                ItemID = itemId;
                Type = type;
            }
        }

        #endregion
    }
}