31 namespace OpenSim.Framework
75 public string CreatorId
86 if ((m_creatorId == null) || !UUID.TryParse(m_creatorId, out m_creatorIdAsUuid))
87 m_creatorIdAsUuid = UUID.Zero;
95 public UUID CreatorIdAsUuid
99 if (UUID.Zero == m_creatorIdAsUuid)
101 UUID.TryParse(CreatorId, out m_creatorIdAsUuid);
104 return m_creatorIdAsUuid;
107 protected UUID m_creatorIdAsUuid = UUID.Zero;
112 public string CreatorData
114 get {
return m_creatorData; }
115 set { m_creatorData = value; }
117 protected string m_creatorData = string.Empty;
124 public string CreatorIdentification
128 if (!
string.IsNullOrEmpty(m_creatorData))
129 return m_creatorId +
';' + m_creatorData;
135 if ((value == null) || (value != null && value == string.Empty))
137 m_creatorData = string.Empty;
141 if (!value.Contains(
";"))
147 string name =
"Unknown User";
148 string[] parts = value.Split(
';');
149 if (parts.Length >= 1)
150 m_creatorId = parts[0];
151 if (parts.Length >= 2)
152 m_creatorData = parts[1];
153 if (parts.Length >= 3)
156 m_creatorData +=
';' + name;
164 public string Description
168 return m_description;
173 m_description = value;
176 protected string m_description = String.Empty;
181 public uint NextPermissions
185 return m_nextPermissions;
190 m_nextPermissions = value;
198 public uint CurrentPermissions
202 return m_currentPermissions;
207 m_currentPermissions = value;
215 public uint BasePermissions
219 return m_basePermissions;
224 m_basePermissions = value;
232 public uint EveryOnePermissions
236 return m_everyonePermissions;
241 m_everyonePermissions = value;
249 public uint GroupPermissions
253 return m_groupPermissions;
258 m_groupPermissions = value;
317 public bool GroupOwned
326 m_groupOwned = value;
385 public int CreationDate
389 return m_creationDate;
394 m_creationDate = value;
397 protected int m_creationDate = (int)(DateTime.UtcNow -
new DateTime(1970, 1, 1)).TotalSeconds;
416 return MemberwiseClone();
uint m_everyonePermissions
Inventory Item - contains all the properties associated with an individual inventory piece...
uint m_currentPermissions
InventoryItemBase(UUID id)
Common base class for inventory nodes of different types (files, folders, etc.)
InventoryItemBase(UUID id, UUID owner)