diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim.RegionServer/SimClient.cs | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/OpenSim.RegionServer/SimClient.cs b/OpenSim.RegionServer/SimClient.cs index 811e8b8..ef82d98 100644 --- a/OpenSim.RegionServer/SimClient.cs +++ b/OpenSim.RegionServer/SimClient.cs | |||
@@ -124,6 +124,15 @@ namespace OpenSim | |||
124 | } | 124 | } |
125 | OpenSimRoot.Instance.LocalWorld.GetInitialPrims(this); | 125 | OpenSimRoot.Instance.LocalWorld.GetInitialPrims(this); |
126 | break; | 126 | break; |
127 | case PacketType.AgentIsNowWearing: | ||
128 | AgentIsNowWearingPacket wear = (AgentIsNowWearingPacket)Pack; | ||
129 | //Console.WriteLine(Pack.ToString()); | ||
130 | break; | ||
131 | case PacketType.AgentSetAppearance: | ||
132 | AgentSetAppearancePacket appear = (AgentSetAppearancePacket)Pack; | ||
133 | // Console.WriteLine(appear.ToString()); | ||
134 | this.ClientAvatar.SetAppearance(appear); | ||
135 | break; | ||
127 | case PacketType.ObjectAdd: | 136 | case PacketType.ObjectAdd: |
128 | OpenSimRoot.Instance.LocalWorld.AddNewPrim((ObjectAddPacket)Pack, this); | 137 | OpenSimRoot.Instance.LocalWorld.AddNewPrim((ObjectAddPacket)Pack, this); |
129 | break; | 138 | break; |
@@ -279,7 +288,7 @@ namespace OpenSim | |||
279 | 288 | ||
280 | break; | 289 | break; |
281 | case PacketType.AssetUploadRequest: | 290 | case PacketType.AssetUploadRequest: |
282 | //this.debug = true; | 291 | this.debug = true; |
283 | AssetUploadRequestPacket request = (AssetUploadRequestPacket)Pack; | 292 | AssetUploadRequestPacket request = (AssetUploadRequestPacket)Pack; |
284 | // Console.WriteLine(Pack.ToString()); | 293 | // Console.WriteLine(Pack.ToString()); |
285 | // if (request.AssetBlock.Type == 0) | 294 | // if (request.AssetBlock.Type == 0) |
@@ -318,7 +327,6 @@ namespace OpenSim | |||
318 | OpenSimRoot.Instance.InventoryCache.FetchInventoryDescendents(this, Fetch); | 327 | OpenSimRoot.Instance.InventoryCache.FetchInventoryDescendents(this, Fetch); |
319 | break; | 328 | break; |
320 | case PacketType.UpdateInventoryItem: | 329 | case PacketType.UpdateInventoryItem: |
321 | /* | ||
322 | UpdateInventoryItemPacket update = (UpdateInventoryItemPacket)Pack; | 330 | UpdateInventoryItemPacket update = (UpdateInventoryItemPacket)Pack; |
323 | for (int i = 0; i < update.InventoryData.Length; i++) | 331 | for (int i = 0; i < update.InventoryData.Length; i++) |
324 | { | 332 | { |
@@ -338,7 +346,7 @@ namespace OpenSim | |||
338 | } | 346 | } |
339 | } | 347 | } |
340 | } | 348 | } |
341 | }*/ | 349 | } |
342 | break; | 350 | break; |
343 | case PacketType.ViewerEffect: | 351 | case PacketType.ViewerEffect: |
344 | ViewerEffectPacket viewer = (ViewerEffectPacket)Pack; | 352 | ViewerEffectPacket viewer = (ViewerEffectPacket)Pack; |