diff options
author | Melanie Thielker | 2009-05-04 21:17:40 +0000 |
---|---|---|
committer | Melanie Thielker | 2009-05-04 21:17:40 +0000 |
commit | ebb8111f6c414388e2877804295339550f6d0ce2 (patch) | |
tree | 6612f69b9d99ded01f7513872920a6b03c87b124 /OpenSim/Framework/InventoryItemBase.cs | |
parent | Remove the csproj files that got into SVN (diff) | |
download | opensim-SC-ebb8111f6c414388e2877804295339550f6d0ce2.zip opensim-SC-ebb8111f6c414388e2877804295339550f6d0ce2.tar.gz opensim-SC-ebb8111f6c414388e2877804295339550f6d0ce2.tar.bz2 opensim-SC-ebb8111f6c414388e2877804295339550f6d0ce2.tar.xz |
Fox the InventoryItem.CreatorIdAsUuid property
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Framework/InventoryItemBase.cs | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/OpenSim/Framework/InventoryItemBase.cs b/OpenSim/Framework/InventoryItemBase.cs index 29142af..fe1d306 100644 --- a/OpenSim/Framework/InventoryItemBase.cs +++ b/OpenSim/Framework/InventoryItemBase.cs | |||
@@ -67,7 +67,19 @@ namespace OpenSim.Framework | |||
67 | /// <value> | 67 | /// <value> |
68 | /// The creator of this item expressed as a UUID | 68 | /// The creator of this item expressed as a UUID |
69 | /// </value> | 69 | /// </value> |
70 | public UUID CreatorIdAsUuid { get; private set; } | 70 | public UUID CreatorIdAsUuid |
71 | { | ||
72 | get | ||
73 | { | ||
74 | UUID uuid = UUID.Zero; | ||
75 | UUID.TryParse(m_creatorId, out uuid); | ||
76 | return uuid; | ||
77 | } | ||
78 | private set | ||
79 | { | ||
80 | m_creatorId = value.ToString(); | ||
81 | } | ||
82 | } | ||
71 | 83 | ||
72 | /// <value> | 84 | /// <value> |
73 | /// The description of the inventory item (must be less than 64 characters) | 85 | /// The description of the inventory item (must be less than 64 characters) |