aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim.RegionServer/ClientView.ProcessPackets.cs
diff options
context:
space:
mode:
authorMW2007-05-22 11:25:34 +0000
committerMW2007-05-22 11:25:34 +0000
commiteafd91ba809c839e99c27055f38fe038e317f08d (patch)
tree864d4d1e33c95a52f672886b1065897775449dbf /OpenSim.RegionServer/ClientView.ProcessPackets.cs
parentMore work on adding Events to ClientView (and registering to handle those eve... (diff)
downloadopensim-SC-eafd91ba809c839e99c27055f38fe038e317f08d.zip
opensim-SC-eafd91ba809c839e99c27055f38fe038e317f08d.tar.gz
opensim-SC-eafd91ba809c839e99c27055f38fe038e317f08d.tar.bz2
opensim-SC-eafd91ba809c839e99c27055f38fe038e317f08d.tar.xz
More refactoring.
Diffstat (limited to '')
-rw-r--r--OpenSim.RegionServer/ClientView.ProcessPackets.cs12
1 files changed, 2 insertions, 10 deletions
diff --git a/OpenSim.RegionServer/ClientView.ProcessPackets.cs b/OpenSim.RegionServer/ClientView.ProcessPackets.cs
index 16f418d..708c143 100644
--- a/OpenSim.RegionServer/ClientView.ProcessPackets.cs
+++ b/OpenSim.RegionServer/ClientView.ProcessPackets.cs
@@ -38,6 +38,7 @@ namespace OpenSim
38 public event GenericCall2 OnCompleteMovementToRegion; 38 public event GenericCall2 OnCompleteMovementToRegion;
39 public event GenericCall3 OnAgentUpdate; 39 public event GenericCall3 OnAgentUpdate;
40 public event StartAnim OnStartAnim; 40 public event StartAnim OnStartAnim;
41 public event GenericCall OnRequestAvatarsData;
41 42
42 protected override void ProcessInPacket(Packet Pack) 43 protected override void ProcessInPacket(Packet Pack)
43 { 44 {
@@ -106,16 +107,7 @@ namespace OpenSim
106 break; 107 break;
107 case PacketType.AgentWearablesRequest: 108 case PacketType.AgentWearablesRequest:
108 OnRequestWearables(this); 109 OnRequestWearables(this);
109 //need to move the follow to a event system 110 OnRequestAvatarsData(this);
110 foreach (ClientView client in m_clientThreads.Values)
111 {
112 if (client.AgentID != this.AgentID)
113 {
114 ObjectUpdatePacket objupdate = client.ClientAvatar.CreateUpdatePacket();
115 this.OutPacket(objupdate);
116 client.ClientAvatar.SendAppearanceToOtherAgent(this.ClientAvatar);
117 }
118 }
119 break; 111 break;
120 case PacketType.AgentSetAppearance: 112 case PacketType.AgentSetAppearance:
121 AgentSetAppearancePacket appear = (AgentSetAppearancePacket)Pack; 113 AgentSetAppearancePacket appear = (AgentSetAppearancePacket)Pack;