mirror of
https://github.com/Impostor/Impostor.git
synced 2026-10-20 01:46:11 +00:00
fixup! Add empty ProductUserId and FriendCode to packets
This commit is contained in:
1 parent
446e5b8705
commit
5c06d1dd4d
2 files changed
+8
-4
No files matched your search
@@ -19,8 +19,10 @@ namespace Impostor.Api.Net.Messages.S2C
|
||||
writer.Write(player.Client.Name);
|
||||
player.Client.PlatformSpecificData.Serialize(writer);
|
||||
writer.WritePacked(player.Character?.PlayerInfo.PlayerLevel ?? 1);
|
||||
writer.Write("");
|
||||
writer.Write("");
|
||||
|
||||
// ProductUserId and FriendCode are not yet known, so set them to an empty string
|
||||
writer.Write(string.Empty);
|
||||
writer.Write(string.Empty);
|
||||
writer.EndMessage();
|
||||
}
|
||||
|
||||
|
||||
@@ -23,8 +23,10 @@ namespace Impostor.Api.Net.Messages.S2C
|
||||
writer.Write(ply.Client.Name);
|
||||
ply.Client.PlatformSpecificData.Serialize(writer);
|
||||
writer.WritePacked(ply.Character?.PlayerInfo.PlayerLevel ?? 1);
|
||||
writer.Write("");
|
||||
writer.Write("");
|
||||
|
||||
// ProductUserId and FriendCode are not yet known, so set them to an empty string
|
||||
writer.Write(string.Empty);
|
||||
writer.Write(string.Empty);
|
||||
}
|
||||
|
||||
writer.EndMessage();
|
||||
|
||||
Reference in new issue
Block a user