aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/OptionalModules/Scripting/Minimodule/SEUser.cs
blob: a35e0514e3681138c4ebc878dbb22952a149b12e (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
using System;
using System.Collections.Generic;
using System.Text;
using OpenMetaverse;

namespace OpenSim.Region.OptionalModules.Scripting.Minimodule
{
    class SEUser : ISocialEntity
    {
        private readonly UUID m_uuid;
        private readonly string m_name;

        public SEUser(UUID uuid, string name)
        {
            m_uuid = uuid;
            m_name = name;
        }

        public UUID GlobalID
        {
            get { return m_uuid; }
        }

        public string Name
        {
            get { return m_name; }
        }

        public bool IsUser
        {
            get { return true; }
        }
    }
}