Skip to content

Commit 48d5086

Browse files
chore(queryrealms): adding logging statement to S->C for query realms packet
1 parent 9709e59 commit 48d5086

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Atlasd/Battlenet/Protocols/Game/Messages/SID_QUERYREALMS2.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public override bool Invoke(MessageContext context)
4242
}
4343
case MessageDirection.ServerToClient:
4444
{
45-
Logging.WriteLine(Logging.LogLevel.Debug, Logging.LogType.Client_Game, context.Client.RemoteEndPoint, "foobar");
45+
Logging.WriteLine(Logging.LogLevel.Debug, Logging.LogType.Client_Game, context.Client.RemoteEndPoint, $"[{Common.DirectionToString(context.Direction)}] {MessageName(Id)} ({4 + Buffer.Length} bytes)");
4646

4747
Dictionary<byte[], byte[]> realms =
4848
context.Arguments == null || !context.Arguments.ContainsKey("realms") ?

0 commit comments

Comments
 (0)