diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs b/OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs index 0161928..4336eb4 100644 --- a/OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs +++ b/OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs | |||
@@ -611,6 +611,15 @@ namespace OpenSim.Region.ClientStack | |||
611 | MapRequest.PositionData.MaxX, MapRequest.PositionData.MaxY); | 611 | MapRequest.PositionData.MaxX, MapRequest.PositionData.MaxY); |
612 | } | 612 | } |
613 | break; | 613 | break; |
614 | case PacketType.MapNameRequest: | ||
615 | MapNameRequestPacket map = (MapNameRequestPacket) Pack; | ||
616 | string mapName = UTF8Encoding.UTF8.GetString(map.NameData.Name, 0, | ||
617 | map.NameData.Name.Length - 1); | ||
618 | if (OnMapNameRequest != null) | ||
619 | { | ||
620 | OnMapNameRequest(this, mapName); | ||
621 | } | ||
622 | break; | ||
614 | case PacketType.TeleportLandmarkRequest: | 623 | case PacketType.TeleportLandmarkRequest: |
615 | TeleportLandmarkRequestPacket tpReq = (TeleportLandmarkRequestPacket) Pack; | 624 | TeleportLandmarkRequestPacket tpReq = (TeleportLandmarkRequestPacket) Pack; |
616 | 625 | ||