aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Communications/Cache
diff options
context:
space:
mode:
authorSean Dague2008-04-10 13:53:06 +0000
committerSean Dague2008-04-10 13:53:06 +0000
commitc176caeb05c2264654b764e4d010561da60c24fc (patch)
tree87e0cab128ecaac57c5995df4cf5048185fe383f /OpenSim/Framework/Communications/Cache
parent* Brings back map tile generation based on the terrain. The algorithm produc... (diff)
downloadopensim-SC_OLD-c176caeb05c2264654b764e4d010561da60c24fc.zip
opensim-SC_OLD-c176caeb05c2264654b764e4d010561da60c24fc.tar.gz
opensim-SC_OLD-c176caeb05c2264654b764e4d010561da60c24fc.tar.bz2
opensim-SC_OLD-c176caeb05c2264654b764e4d010561da60c24fc.tar.xz
moved fields to properties for UserDataProfile, which was
actually a little more work than I expected given the copious use of out params.
Diffstat (limited to 'OpenSim/Framework/Communications/Cache')
-rw-r--r--OpenSim/Framework/Communications/Cache/CachedUserInfo.cs10
1 files changed, 5 insertions, 5 deletions
diff --git a/OpenSim/Framework/Communications/Cache/CachedUserInfo.cs b/OpenSim/Framework/Communications/Cache/CachedUserInfo.cs
index e39333b..75fe1aa 100644
--- a/OpenSim/Framework/Communications/Cache/CachedUserInfo.cs
+++ b/OpenSim/Framework/Communications/Cache/CachedUserInfo.cs
@@ -114,7 +114,7 @@ namespace OpenSim.Framework.Communications.Cache
114// "[INVENTORY CACHE]: Received folder {0} {1} for user {2}", 114// "[INVENTORY CACHE]: Received folder {0} {1} for user {2}",
115// folderInfo.name, folderInfo.folderID, userID); 115// folderInfo.name, folderInfo.folderID, userID);
116 116
117 if (userID == UserProfile.UUID) 117 if (userID == UserProfile.Id)
118 { 118 {
119 if (RootFolder == null) 119 if (RootFolder == null)
120 { 120 {
@@ -169,7 +169,7 @@ namespace OpenSim.Framework.Communications.Cache
169 /// <param name="folderInfo"></param> 169 /// <param name="folderInfo"></param>
170 public void ItemReceive(LLUUID userID, InventoryItemBase itemInfo) 170 public void ItemReceive(LLUUID userID, InventoryItemBase itemInfo)
171 { 171 {
172 if ((userID == UserProfile.UUID) && (RootFolder != null)) 172 if ((userID == UserProfile.Id) && (RootFolder != null))
173 { 173 {
174 if (itemInfo.Folder == RootFolder.ID) 174 if (itemInfo.Folder == RootFolder.ID)
175 { 175 {
@@ -194,7 +194,7 @@ namespace OpenSim.Framework.Communications.Cache
194 194
195 public void AddItem(LLUUID userID, InventoryItemBase itemInfo) 195 public void AddItem(LLUUID userID, InventoryItemBase itemInfo)
196 { 196 {
197 if ((userID == UserProfile.UUID) && (RootFolder != null)) 197 if ((userID == UserProfile.Id) && (RootFolder != null))
198 { 198 {
199 ItemReceive(userID, itemInfo); 199 ItemReceive(userID, itemInfo);
200 m_parentCommsManager.InventoryService.AddNewInventoryItem(userID, itemInfo); 200 m_parentCommsManager.InventoryService.AddNewInventoryItem(userID, itemInfo);
@@ -203,7 +203,7 @@ namespace OpenSim.Framework.Communications.Cache
203 203
204 public void UpdateItem(LLUUID userID, InventoryItemBase itemInfo) 204 public void UpdateItem(LLUUID userID, InventoryItemBase itemInfo)
205 { 205 {
206 if ((userID == UserProfile.UUID) && (RootFolder != null)) 206 if ((userID == UserProfile.Id) && (RootFolder != null))
207 { 207 {
208 m_parentCommsManager.InventoryService.AddNewInventoryItem(userID, itemInfo); 208 m_parentCommsManager.InventoryService.AddNewInventoryItem(userID, itemInfo);
209 } 209 }
@@ -212,7 +212,7 @@ namespace OpenSim.Framework.Communications.Cache
212 public bool DeleteItem(LLUUID userID, InventoryItemBase item) 212 public bool DeleteItem(LLUUID userID, InventoryItemBase item)
213 { 213 {
214 bool result = false; 214 bool result = false;
215 if ((userID == UserProfile.UUID) && (RootFolder != null)) 215 if ((userID == UserProfile.Id) && (RootFolder != null))
216 { 216 {
217 result = RootFolder.DeleteItem(item.ID); 217 result = RootFolder.DeleteItem(item.ID);
218 if (result) 218 if (result)