Core: SOme code cleanup, more to follow.

This commit is contained in:
hondacrx
2021-03-20 22:48:48 -04:00
parent 62f554f2e0
commit 62ec699ec6
318 changed files with 5080 additions and 5125 deletions
@@ -33,7 +33,7 @@ namespace Game.Networking.Packets
}
public MethodCall Method;
public ByteBuffer Data = new ByteBuffer();
public ByteBuffer Data = new();
}
class Response : ServerPacket
@@ -50,7 +50,7 @@ namespace Game.Networking.Packets
public BattlenetRpcErrorCode BnetStatus = BattlenetRpcErrorCode.Ok;
public MethodCall Method;
public ByteBuffer Data = new ByteBuffer();
public ByteBuffer Data = new();
}
class ConnectionStatus : ServerPacket
@@ -113,7 +113,7 @@ namespace Game.Networking.Packets
}
public uint Token;
public Array<byte> Secret = new Array<byte>(32);
public Array<byte> Secret = new(32);
}
public struct MethodCall