diff options
More refactoring.
Diffstat (limited to 'OpenSim.RegionServer/world/World.PacketHandlers.cs')
-rw-r--r-- | OpenSim.RegionServer/world/World.PacketHandlers.cs | 14 |
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 | { |