diff options
Diffstat (limited to 'OpenSim/Region/ClientStack')
-rw-r--r-- | OpenSim/Region/ClientStack/ClientView.API.cs | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/OpenSim/Region/ClientStack/ClientView.API.cs b/OpenSim/Region/ClientStack/ClientView.API.cs index 1c359c2..b47d95a 100644 --- a/OpenSim/Region/ClientStack/ClientView.API.cs +++ b/OpenSim/Region/ClientStack/ClientView.API.cs | |||
@@ -576,7 +576,6 @@ namespace OpenSim.Region.ClientStack | |||
576 | this.OutPacket(inventoryReply); | 576 | this.OutPacket(inventoryReply); |
577 | } | 577 | } |
578 | 578 | ||
579 | |||
580 | #region Appearance/ Wearables Methods | 579 | #region Appearance/ Wearables Methods |
581 | 580 | ||
582 | /// <summary> | 581 | /// <summary> |
@@ -1202,5 +1201,16 @@ namespace OpenSim.Region.ClientStack | |||
1202 | } | 1201 | } |
1203 | #endregion | 1202 | #endregion |
1204 | 1203 | ||
1204 | public void SendNameReply(LLUUID profileId, string firstname, string lastname) | ||
1205 | { | ||
1206 | Encoding enc = Encoding.ASCII; | ||
1207 | UUIDNameReplyPacket packet = new UUIDNameReplyPacket(); | ||
1208 | packet.UUIDNameBlock = new UUIDNameReplyPacket.UUIDNameBlockBlock[1]; | ||
1209 | packet.UUIDNameBlock[0] = new UUIDNameReplyPacket.UUIDNameBlockBlock(); | ||
1210 | packet.UUIDNameBlock[0].ID = profileId; | ||
1211 | packet.UUIDNameBlock[0].FirstName = enc.GetBytes(firstname + "\0"); | ||
1212 | packet.UUIDNameBlock[0].LastName = enc.GetBytes(lastname + "\0"); | ||
1213 | OutPacket((Packet)packet); | ||
1214 | } | ||
1205 | } | 1215 | } |
1206 | } | 1216 | } |