mirror of
https://github.com/islehorse/HISP.git
synced 2025-04-23 13:15:53 +12:00
Remove \0 from packet unless XmlSocket
This commit is contained in:
parent
3ed0120b9b
commit
eefc2b926d
6 changed files with 300 additions and 328 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue