mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-06-08 13:34:38 +02:00
Cleaned up LogFile and ByteArrayToHex utils.
This commit is contained in:
parent
8b93abe86e
commit
1c712c7533
31 changed files with 409 additions and 405 deletions
|
@ -141,14 +141,14 @@ namespace FFXIVClassic_Map_Server.packets
|
|||
{
|
||||
#if DEBUG
|
||||
Console.BackgroundColor = ConsoleColor.DarkRed;
|
||||
Log.debug(String.Format("Size: 0x{0:X}", header.subpacketSize));
|
||||
Log.Debug(String.Format("Size: 0x{0:X}", header.subpacketSize));
|
||||
if (header.type == 0x03)
|
||||
Log.debug(String.Format("Opcode: 0x{0:X}", gameMessage.opcode));
|
||||
Log.debug(String.Format("{0}", Utils.ByteArrayToHex(getHeaderBytes())));
|
||||
Log.Debug(String.Format("Opcode: 0x{0:X}", gameMessage.opcode));
|
||||
Log.Debug(String.Format("{0}", Utils.ByteArrayToHex(getHeaderBytes())));
|
||||
if (header.type == 0x03)
|
||||
Log.debug(String.Format("{0}", Utils.ByteArrayToHex(getGameMessageBytes())));
|
||||
Log.Debug(String.Format("{0}", Utils.ByteArrayToHex(getGameMessageBytes())));
|
||||
Console.BackgroundColor = ConsoleColor.DarkMagenta;
|
||||
Log.debug(String.Format("{0}", Utils.ByteArrayToHex(data)));
|
||||
Log.Debug(String.Format("{0}", Utils.ByteArrayToHex(data)));
|
||||
Console.BackgroundColor = ConsoleColor.Black;
|
||||
#endif
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue