diff options
author | MW | 2007-12-01 14:20:37 +0000 |
---|---|---|
committer | MW | 2007-12-01 14:20:37 +0000 |
commit | 27f182ac54ffee16da730b2053480944f9ca5412 (patch) | |
tree | 86b7188f3d05afd3753d833a2000827a623e0b55 /OpenSim/Region/Environment/Scenes/Scene.Inventory.cs | |
parent | set svn:eol-style (diff) | |
download | opensim-SC-27f182ac54ffee16da730b2053480944f9ca5412.zip opensim-SC-27f182ac54ffee16da730b2053480944f9ca5412.tar.gz opensim-SC-27f182ac54ffee16da730b2053480944f9ca5412.tar.bz2 opensim-SC-27f182ac54ffee16da730b2053480944f9ca5412.tar.xz |
Part 1 of a commit. This revision will not compile, part 2 will be added in a couple of minutes that should fix that.
Some work towards persisting Avatar Appearance (what is being worn).
Added OnAvatarNowWearing event to IClientAPI that is triggered by AgentIsNowWearing packets.
stub code to subscribe to this event in AvatarFactoryModule.
Todo: code needs to be added to AvatarFactoryModule to save the uuids to a database and then read them back when that modules TryGetIntialAvatarAppearance() method is called.
Done some changes to Scene to make it easier to subclass it: including changed some private fields to protected and made some methods virtual.
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/Scene.Inventory.cs')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/Scene.Inventory.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs b/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs index 877bfe5..5b6b9cb 100644 --- a/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs +++ b/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs | |||
@@ -362,7 +362,7 @@ namespace OpenSim.Region.Environment.Scenes | |||
362 | /// </summary> | 362 | /// </summary> |
363 | /// <param name="packet"></param> | 363 | /// <param name="packet"></param> |
364 | /// <param name="simClient"></param> | 364 | /// <param name="simClient"></param> |
365 | public void DeRezObject(Packet packet, IClientAPI remoteClient) | 365 | public virtual void DeRezObject(Packet packet, IClientAPI remoteClient) |
366 | { | 366 | { |
367 | DeRezObjectPacket DeRezPacket = (DeRezObjectPacket) packet; | 367 | DeRezObjectPacket DeRezPacket = (DeRezObjectPacket) packet; |
368 | 368 | ||
@@ -443,7 +443,7 @@ namespace OpenSim.Region.Environment.Scenes | |||
443 | group.DeleteParts(); | 443 | group.DeleteParts(); |
444 | } | 444 | } |
445 | 445 | ||
446 | public void RezObject(IClientAPI remoteClient, LLUUID itemID, LLVector3 pos) | 446 | public virtual void RezObject(IClientAPI remoteClient, LLUUID itemID, LLVector3 pos) |
447 | { | 447 | { |
448 | CachedUserInfo userInfo = CommsManager.UserProfileCache.GetUserDetails(remoteClient.AgentId); | 448 | CachedUserInfo userInfo = CommsManager.UserProfileCache.GetUserDetails(remoteClient.AgentId); |
449 | if (userInfo != null) | 449 | if (userInfo != null) |