aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim.RegionServer/world/World.PacketHandlers.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/world/World.PacketHandlers.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 'OpenSim.RegionServer/world/World.PacketHandlers.cs')
-rw-r--r--OpenSim.RegionServer/world/World.PacketHandlers.cs14
1 files changed, 14 insertions, 0 deletions
diff --git a/OpenSim.RegionServer/world/World.PacketHandlers.cs b/OpenSim.RegionServer/world/World.PacketHandlers.cs
index d12013a..119bb19 100644
--- a/OpenSim.RegionServer/world/World.PacketHandlers.cs
+++ b/OpenSim.RegionServer/world/World.PacketHandlers.cs
@@ -168,6 +168,20 @@ namespace OpenSim.world
168 return true; 168 return true;
169 } 169 }
170 170
171 public void SendAvatarsToClient(ClientView RemoteClient)
172 {
173 foreach (ClientView client in m_clientThreads.Values)
174 {
175 if (client.AgentID != RemoteClient.AgentID)
176 {
177 // ObjectUpdatePacket objupdate = client.ClientAvatar.CreateUpdatePacket();
178 // RemoteClient.OutPacket(objupdate);
179 client.ClientAvatar.SendUpdateToOtherClient(RemoteClient.ClientAvatar);
180 client.ClientAvatar.SendAppearanceToOtherAgent(RemoteClient.ClientAvatar);
181 }
182 }
183 }
184
171 /* 185 /*
172 public void RequestMapBlock(ClientView simClient, int minX, int minY, int maxX, int maxY) 186 public void RequestMapBlock(ClientView simClient, int minX, int minY, int maxX, int maxY)
173 { 187 {