mirror of
https://github.com/opensim/opensim.git
synced 2026-08-13 05:05:43 +08:00
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:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user