mirror of https://github.com/icedream/npsharp.git
Do not show message ID twice
parent
e508906e2b
commit
6555e2f24d
|
@ -92,7 +92,7 @@ namespace NPSharp.RPC.Messages
|
||||||
|
|
||||||
#if DEBUG
|
#if DEBUG
|
||||||
Log.DebugFormat("RPCServerMessage[ID={0},Type={1},TypeName={2}] {{", pid, packet.GetTypeId(), packet.GetType().Name);
|
Log.DebugFormat("RPCServerMessage[ID={0},Type={1},TypeName={2}] {{", pid, packet.GetTypeId(), packet.GetType().Name);
|
||||||
foreach (var prop in packet.GetType().GetProperties().Where(p => !(p.DeclaringType is RPCServerMessage)))
|
foreach (var prop in packet.GetType().GetProperties().Where(p => !(p.DeclaringType == typeof (RPCServerMessage))))
|
||||||
{
|
{
|
||||||
Log.DebugFormat("\t{0} = {1}", prop.Name, prop.GetValue(packet));
|
Log.DebugFormat("\t{0} = {1}", prop.Name, prop.GetValue(packet));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue