aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/Scene.cs
diff options
context:
space:
mode:
authorJustin Clarke Casey2008-12-10 19:12:59 +0000
committerJustin Clarke Casey2008-12-10 19:12:59 +0000
commitf38c35b60947fd926246fd95cfce5b9674967124 (patch)
treead349b864b99f0b88d236abdb51993e41fbd6b74 /OpenSim/Region/Environment/Scenes/Scene.cs
parent* Establish OpenSim.Framework.Communications.Tests beachhead (diff)
downloadopensim-SC_OLD-f38c35b60947fd926246fd95cfce5b9674967124.zip
opensim-SC_OLD-f38c35b60947fd926246fd95cfce5b9674967124.tar.gz
opensim-SC_OLD-f38c35b60947fd926246fd95cfce5b9674967124.tar.bz2
opensim-SC_OLD-f38c35b60947fd926246fd95cfce5b9674967124.tar.xz
* refactor: Move inventory handlers out from UserProfileCacheService
* This means that UserProfileCacheService no longer needs to know about IClientAPI and can leave it to callers to do their own error logging * This is also more consistent with the way that item inventory manipulation is handled * I don't really think Scene.PacketHandlers.cs should be a permanent home for these handlers - this is just for convenience
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/Scene.cs')
-rw-r--r--OpenSim/Region/Environment/Scenes/Scene.cs14
1 files changed, 7 insertions, 7 deletions
diff --git a/OpenSim/Region/Environment/Scenes/Scene.cs b/OpenSim/Region/Environment/Scenes/Scene.cs
index bef79f8..4087471 100644
--- a/OpenSim/Region/Environment/Scenes/Scene.cs
+++ b/OpenSim/Region/Environment/Scenes/Scene.cs
@@ -2415,12 +2415,12 @@ namespace OpenSim.Region.Environment.Scenes
2415 client.OnGodKickUser += HandleGodlikeKickUser; 2415 client.OnGodKickUser += HandleGodlikeKickUser;
2416 client.OnObjectPermissions += HandleObjectPermissionsUpdate; 2416 client.OnObjectPermissions += HandleObjectPermissionsUpdate;
2417 client.OnCreateNewInventoryItem += CreateNewInventoryItem; 2417 client.OnCreateNewInventoryItem += CreateNewInventoryItem;
2418 client.OnCreateNewInventoryFolder += CommsManager.UserProfileCacheService.HandleCreateInventoryFolder; 2418 client.OnCreateNewInventoryFolder += HandleCreateInventoryFolder;
2419 client.OnUpdateInventoryFolder += CommsManager.UserProfileCacheService.HandleUpdateInventoryFolder; 2419 client.OnUpdateInventoryFolder += HandleUpdateInventoryFolder;
2420 client.OnMoveInventoryFolder += CommsManager.UserProfileCacheService.HandleMoveInventoryFolder; 2420 client.OnMoveInventoryFolder += HandleMoveInventoryFolder;
2421 client.OnFetchInventoryDescendents += CommsManager.UserProfileCacheService.HandleFetchInventoryDescendents; 2421 client.OnFetchInventoryDescendents += HandleFetchInventoryDescendents;
2422 client.OnPurgeInventoryDescendents += CommsManager.UserProfileCacheService.HandlePurgeInventoryDescendents; 2422 client.OnPurgeInventoryDescendents += HandlePurgeInventoryDescendents;
2423 client.OnFetchInventory += CommsManager.UserProfileCacheService.HandleFetchInventory; 2423 client.OnFetchInventory += HandleFetchInventory;
2424 client.OnUpdateInventoryItem += UpdateInventoryItemAsset; 2424 client.OnUpdateInventoryItem += UpdateInventoryItemAsset;
2425 client.OnCopyInventoryItem += CopyInventoryItem; 2425 client.OnCopyInventoryItem += CopyInventoryItem;
2426 client.OnMoveInventoryItem += MoveInventoryItem; 2426 client.OnMoveInventoryItem += MoveInventoryItem;
@@ -2982,7 +2982,7 @@ namespace OpenSim.Region.Environment.Scenes
2982 cap.AddNewInventoryItem = AddUploadedInventoryItem; 2982 cap.AddNewInventoryItem = AddUploadedInventoryItem;
2983 cap.ItemUpdatedCall = CapsUpdateInventoryItemAsset; 2983 cap.ItemUpdatedCall = CapsUpdateInventoryItemAsset;
2984 cap.TaskScriptUpdatedCall = CapsUpdateTaskInventoryScriptAsset; 2984 cap.TaskScriptUpdatedCall = CapsUpdateTaskInventoryScriptAsset;
2985 cap.CAPSFetchInventoryDescendents = CommsManager.UserProfileCacheService.HandleFetchInventoryDescendentsCAPS; 2985 cap.CAPSFetchInventoryDescendents = HandleFetchInventoryDescendentsCAPS;
2986 cap.GetClient = m_sceneGraph.GetControllingClient; 2986 cap.GetClient = m_sceneGraph.GetControllingClient;
2987 m_capsHandlers[agentId] = cap; 2987 m_capsHandlers[agentId] = cap;
2988 } 2988 }