aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/InventoryItemBase.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Framework/InventoryItemBase.cs')
-rw-r--r--OpenSim/Framework/InventoryItemBase.cs33
1 files changed, 29 insertions, 4 deletions
diff --git a/OpenSim/Framework/InventoryItemBase.cs b/OpenSim/Framework/InventoryItemBase.cs
index 21683c4..ae3777c 100644
--- a/OpenSim/Framework/InventoryItemBase.cs
+++ b/OpenSim/Framework/InventoryItemBase.cs
@@ -53,8 +53,16 @@ namespace OpenSim.Framework
53 /// <summary> 53 /// <summary>
54 /// The creator of this item 54 /// The creator of this item
55 /// </summary> 55 /// </summary>
56 private UUID _creator; 56 private string m_creatorId = String.Empty;
57
58 /// <summary>
59 /// The creator of this item expressed as a UUID
60 /// </summary>
61 private UUID m_creatorIdAsUuid = UUID.Zero;
57 62
63 /// <summary>
64 ///
65 /// </summary>
58 private uint _nextPermissions; 66 private uint _nextPermissions;
59 67
60 /// <summary> 68 /// <summary>
@@ -129,10 +137,27 @@ namespace OpenSim.Framework
129 set { _folder = value; } 137 set { _folder = value; }
130 } 138 }
131 139
132 public UUID Creator 140 /// <value>
141 /// The creator ID
142 /// </value>
143 public string CreatorId
144 {
145 get { return m_creatorId; }
146 set
147 {
148 m_creatorId = value;
149
150 // For now, all IDs are UUIDs
151 UUID.TryParse(m_creatorId, out m_creatorIdAsUuid);
152 }
153 }
154
155 /// <value>
156 /// The creator ID expressed as a UUID
157 /// </value>
158 public UUID CreatorIdAsUuid
133 { 159 {
134 get { return _creator; } 160 get { return m_creatorIdAsUuid; }
135 set { _creator = value; }
136 } 161 }
137 162
138 public string Description 163 public string Description