mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-05-20 08:26:59 -04:00
PROJECT: added common library to make common files actually common
- renamed sln to FFXIVClassic.sln - threaded logging - todo: print packets using Log.Packet
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
using System;
|
||||
using FFXIVClassic_Lobby_Server.common;
|
||||
using FFXIVClassic.Common;
|
||||
using System.IO;
|
||||
|
||||
namespace FFXIVClassic_Lobby_Server.dataobjects
|
||||
@@ -227,7 +227,7 @@ namespace FFXIVClassic_Lobby_Server.dataobjects
|
||||
{
|
||||
byte[] bytes = File.ReadAllBytes("./packets/charaappearance.bin");
|
||||
|
||||
Log.Debug(Utils.ByteArrayToHex(bytes));
|
||||
Program.Log.Debug(Utils.ByteArrayToHex(bytes));
|
||||
|
||||
return Convert.ToBase64String(bytes).Replace('+', '-').Replace('/', '_');
|
||||
}
|
||||
|
@@ -1,5 +1,5 @@
|
||||
using System;
|
||||
using FFXIVClassic_Lobby_Server.common;
|
||||
using FFXIVClassic.Common;
|
||||
using FFXIVClassic_Lobby_Server.dataobjects;
|
||||
|
||||
namespace FFXIVClassic_Lobby_Server
|
||||
@@ -33,9 +33,9 @@ namespace FFXIVClassic_Lobby_Server
|
||||
charaInfo.Replace("/", "_");
|
||||
byte[] data = System.Convert.FromBase64String(charaInfo);
|
||||
|
||||
Log.Debug("------------Base64 printout------------------");
|
||||
Log.Debug(Utils.ByteArrayToHex(data));
|
||||
Log.Debug("------------Base64 printout------------------");
|
||||
Program.Log.Debug("------------Base64 printout------------------");
|
||||
Program.Log.Debug(Utils.ByteArrayToHex(data));
|
||||
Program.Log.Debug("------------Base64 printout------------------");
|
||||
|
||||
CharaInfo chara = new CharaInfo();
|
||||
|
||||
|
Reference in New Issue
Block a user