Console client: Retrieve player names.

This commit is contained in:
lotodore
2008-12-21 14:23:40 +00:00
parent cc2e0251d3
commit 73778494b7
14 changed files with 493 additions and 89 deletions
+4
View File
@@ -89,6 +89,10 @@ namespace pokerth_console
byte[] tmpName = r.ReadBytes(gameNameLen);
Properties.Add(PropertyType.PropGameName,
Encoding.UTF8.GetString(tmpName));
// Skip the padding.
int namePadding = AddPadding(tmpName.Length) - tmpName.Length;
if (namePadding > 0)
r.ReadBytes(namePadding);
// Read player ids.
List<string> playerSlots = new List<string>();