aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack/ClientView.API.cs
diff options
context:
space:
mode:
authorlbsa712007-07-13 07:19:00 +0000
committerlbsa712007-07-13 07:19:00 +0000
commita0ac1f06e62bdfcf08264c8e89fb4e42a2d1f5d6 (patch)
tree6506411c17915cbc94fee8d115c0d4975dca0531 /OpenSim/Region/ClientStack/ClientView.API.cs
parent* Fixing compiler warnings in an attempt to reduce them back down to zero. (diff)
downloadopensim-SC_OLD-a0ac1f06e62bdfcf08264c8e89fb4e42a2d1f5d6.zip
opensim-SC_OLD-a0ac1f06e62bdfcf08264c8e89fb4e42a2d1f5d6.tar.gz
opensim-SC_OLD-a0ac1f06e62bdfcf08264c8e89fb4e42a2d1f5d6.tar.bz2
opensim-SC_OLD-a0ac1f06e62bdfcf08264c8e89fb4e42a2d1f5d6.tar.xz
* Moved SendNameReply to ClientView
* Removed unused LoginService * Minor renames on BinaryStreamHandler
Diffstat (limited to 'OpenSim/Region/ClientStack/ClientView.API.cs')
-rw-r--r--OpenSim/Region/ClientStack/ClientView.API.cs12
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}