Refactor InventoryItemBase to do the following:

* wrap fields as Properties
 * rename some fields/properties to more sensible names
 * set style to PropName to match more standard C# approach
This commit is contained in:
Sean Dague
2008-04-07 23:15:35 +00:00
parent bb2f163bf7
commit f436815107
16 changed files with 442 additions and 323 deletions

View File

@@ -189,10 +189,10 @@ namespace OpenSim.Grid.InventoryServer
// Right now, this actions act more like an update/insert combination than a simple create.
m_log.Info(
"[AGENT INVENTORY]: " +
"Updating in " + item.parentFolderID.ToString()
+ ", item " + item.inventoryName);
"Updating in " + item.Folder.ToString()
+ ", item " + item.Name);
AddNewInventoryItem(item.avatarID, item);
AddNewInventoryItem(item.Owner, item);
return true;
}
@@ -201,15 +201,15 @@ namespace OpenSim.Grid.InventoryServer
// extra spaces to align with other inventory messages
m_log.Info(
"[AGENT INVENTORY]: " +
"Deleting in " + item.parentFolderID.ToString()
+ ", item " + item.inventoryName);
"Deleting in " + item.Folder.ToString()
+ ", item " + item.Name);
DeleteItem(item);
}
public bool DeleteInvItem(InventoryItemBase item)
{
DeleteInventoryItem(item.avatarID, item);
DeleteInventoryItem(item.Owner, item);
return true;
}
}