Remove \0 from packet unless XmlSocket

This commit is contained in:
Li 2022-11-18 18:21:03 +13:00
parent 3ed0120b9b
commit eefc2b926d
6 changed files with 300 additions and 328 deletions

View file

@ -1,4 +1,4 @@
//#define GENERATE
#define GENERATE
using HISP.Tests.Properties;
using HISP.Game.SwfModules;
@ -47,7 +47,7 @@ namespace HISP.Tests.UnitTests
public static bool RunPacketTest()
{
#if GENERATE
#if !GENERATE
JObject jobj = JsonConvert.DeserializeObject(Resources.PacketTestDataSet) as JObject;
knownGoodPackets = jobj.ToObject<Dictionary<string, string>>();
#endif