aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/OptionalModules/Scripting/Minimodule/SEUser.cs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/OptionalModules/Scripting/Minimodule/SEUser.cs34
1 files changed, 34 insertions, 0 deletions
diff --git a/OpenSim/Region/OptionalModules/Scripting/Minimodule/SEUser.cs b/OpenSim/Region/OptionalModules/Scripting/Minimodule/SEUser.cs
new file mode 100644
index 0000000..1fc1c55
--- /dev/null
+++ b/OpenSim/Region/OptionalModules/Scripting/Minimodule/SEUser.cs
@@ -0,0 +1,34 @@
1using System;
2using System.Collections.Generic;
3using System.Text;
4using OpenMetaverse;
5
6namespace OpenSim.Region.OptionalModules.Scripting.Minimodule
7{
8 class SEUser : ISocialEntity
9 {
10 private readonly UUID m_uuid;
11 private readonly string m_name;
12
13 public SIUser(UUID uuid, string name)
14 {
15 this.m_uuid = uuid;
16 this.m_name = name;
17 }
18
19 public UUID GlobalID
20 {
21 get { return m_uuid; }
22 }
23
24 public string Name
25 {
26 get { return m_name; }
27 }
28
29 public bool IsUser
30 {
31 get { return true; }
32 }
33 }
34}