diff options
Diffstat (limited to 'OpenSim/Region/OptionalModules/World')
-rw-r--r-- | OpenSim/Region/OptionalModules/World/NPC/NPCAvatar.cs | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/OpenSim/Region/OptionalModules/World/NPC/NPCAvatar.cs b/OpenSim/Region/OptionalModules/World/NPC/NPCAvatar.cs index 1ad71ba..1096eae 100644 --- a/OpenSim/Region/OptionalModules/World/NPC/NPCAvatar.cs +++ b/OpenSim/Region/OptionalModules/World/NPC/NPCAvatar.cs | |||
@@ -69,7 +69,7 @@ namespace OpenSim.Region.OptionalModules.World.NPC | |||
69 | private readonly Scene m_scene; | 69 | private readonly Scene m_scene; |
70 | private readonly UUID m_ownerID; | 70 | private readonly UUID m_ownerID; |
71 | private UUID m_hostGroupID; | 71 | private UUID m_hostGroupID; |
72 | 72 | private string m_profileAbout = ""; | |
73 | public List<uint> SelectedObjects {get; private set;} | 73 | public List<uint> SelectedObjects {get; private set;} |
74 | 74 | ||
75 | public NPCAvatar( | 75 | public NPCAvatar( |
@@ -98,6 +98,17 @@ namespace OpenSim.Region.OptionalModules.World.NPC | |||
98 | m_hostGroupID = UUID.Zero; | 98 | m_hostGroupID = UUID.Zero; |
99 | } | 99 | } |
100 | 100 | ||
101 | public string profileAbout | ||
102 | { | ||
103 | get { return m_profileAbout; } | ||
104 | set | ||
105 | { | ||
106 | if(value.Length > 255) | ||
107 | m_profileAbout = value.Substring(0,255); | ||
108 | else | ||
109 | m_profileAbout = value; | ||
110 | } | ||
111 | } | ||
101 | public IScene Scene | 112 | public IScene Scene |
102 | { | 113 | { |
103 | get { return m_scene; } | 114 | get { return m_scene; } |