Removes default value initializers
This commit is contained in:
parent
ff26dfa375
commit
f0a48ad431
19 changed files with 37 additions and 37 deletions
|
|
@ -150,7 +150,7 @@ namespace Server
|
|||
set => _PostHSFormat = value;
|
||||
}
|
||||
|
||||
private static bool _PostHSFormat = false;
|
||||
private static bool _PostHSFormat;
|
||||
|
||||
private Point2D m_Min, m_Max, m_Center;
|
||||
private int m_Width, m_Height;
|
||||
|
|
|
|||
|
|
@ -95,7 +95,7 @@ namespace Server.Network {
|
|||
private AsyncState m_AsyncState;
|
||||
private object m_AsyncLock = new object();
|
||||
|
||||
private IPacketEncoder m_Encoder = null;
|
||||
private IPacketEncoder m_Encoder;
|
||||
|
||||
public IPacketEncoder PacketEncoder {
|
||||
get => m_Encoder;
|
||||
|
|
|
|||
|
|
@ -42,7 +42,7 @@ namespace Server
|
|||
set => m_HeaderArgs = value;
|
||||
}
|
||||
|
||||
private static bool m_Enabled = false;
|
||||
private static bool m_Enabled;
|
||||
|
||||
public static bool Enabled{ get => m_Enabled;
|
||||
set => m_Enabled = value;
|
||||
|
|
|
|||
|
|
@ -107,7 +107,7 @@ namespace Server {
|
|||
private byte[] _Working = new byte[BUFFER_SIZE];
|
||||
private byte[] _Buffer = new byte[BUFFER_SIZE];
|
||||
|
||||
private int _Index = 0;
|
||||
private int _Index;
|
||||
|
||||
private object _sync = new object();
|
||||
|
||||
|
|
@ -226,7 +226,7 @@ namespace Server {
|
|||
private byte[] _Working = new byte[BUFFER_SIZE];
|
||||
private byte[] _Buffer = new byte[BUFFER_SIZE];
|
||||
|
||||
private int _Index = 0;
|
||||
private int _Index;
|
||||
|
||||
private object _sync = new object();
|
||||
|
||||
|
|
@ -364,7 +364,7 @@ namespace Server {
|
|||
private byte[] _Working = new byte[BUFFER_SIZE];
|
||||
private byte[] _Buffer = new byte[BUFFER_SIZE];
|
||||
|
||||
private int _Index = 0;
|
||||
private int _Index;
|
||||
|
||||
private object _sync = new object();
|
||||
|
||||
|
|
@ -483,7 +483,7 @@ namespace Server {
|
|||
private byte[] _Working = new byte[BUFFER_SIZE];
|
||||
private byte[] _Buffer = new byte[BUFFER_SIZE];
|
||||
|
||||
private int _Index = 0;
|
||||
private int _Index;
|
||||
|
||||
private object _sync = new object();
|
||||
|
||||
|
|
|
|||
|
|
@ -1385,7 +1385,7 @@ namespace Server
|
|||
|
||||
public sealed class AsyncWriter : GenericWriter
|
||||
{
|
||||
private static int m_ThreadCount = 0;
|
||||
private static int m_ThreadCount;
|
||||
public static int ThreadCount => m_ThreadCount;
|
||||
|
||||
private int BufferSize;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue