Removes default value initializers
This commit is contained in:
parent
ff26dfa375
commit
f0a48ad431
19 changed files with 37 additions and 37 deletions
|
|
@ -356,7 +356,7 @@ namespace Server.Engines.ConPVP
|
|||
}
|
||||
|
||||
private Point3DList m_Path = new Point3DList();
|
||||
private int m_PathIdx = 0;
|
||||
private int m_PathIdx;
|
||||
|
||||
private void BeginFlight( Point3D dest )
|
||||
{
|
||||
|
|
@ -785,7 +785,7 @@ namespace Server.Engines.ConPVP
|
|||
|
||||
public class BRGoal : BaseAddon
|
||||
{
|
||||
private bool m_North = false;
|
||||
private bool m_North;
|
||||
|
||||
[CommandProperty( AccessLevel.GameMaster )]
|
||||
public bool North { get => m_North;
|
||||
|
|
@ -1531,7 +1531,7 @@ namespace Server.Engines.ConPVP
|
|||
|
||||
private BRBomb m_Bomb;
|
||||
|
||||
private TimerCallback m_UnhideCallback = null;
|
||||
private TimerCallback m_UnhideCallback;
|
||||
|
||||
public void ReturnBomb()
|
||||
{
|
||||
|
|
|
|||
|
|
@ -927,9 +927,9 @@ namespace Server.Engines.ConPVP
|
|||
}
|
||||
|
||||
private bool m_Capturable = true;
|
||||
private Timer m_CaptureTimer = null;
|
||||
private Timer m_UncaptureTimer = null;
|
||||
private int m_CapStage = 0;
|
||||
private Timer m_CaptureTimer;
|
||||
private Timer m_UncaptureTimer;
|
||||
private int m_CapStage;
|
||||
|
||||
public void Dominate( DDWayPoint point, Mobile from, DDTeamInfo team )
|
||||
{
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@ namespace Server.RemoteAdmin
|
|||
|
||||
public static StreamWriter Output => m_Output;
|
||||
|
||||
private static bool Initialized = false;
|
||||
private static bool Initialized;
|
||||
public static void LazyInitialize()
|
||||
{
|
||||
if ( Initialized || !m_Enabled ) return;
|
||||
|
|
|
|||
|
|
@ -55,7 +55,7 @@ namespace Server.Engines.Reports
|
|||
private Color _fontColor;
|
||||
private float _graphHeight;
|
||||
private float _graphWidth;
|
||||
private float _maxValue = 0.0f; // = final tick value * tick count
|
||||
private float _maxValue; // = final tick value * tick count
|
||||
private float _scaleFactor; // = _maxValue / _graphHeight
|
||||
private float _spaceBtwBars; // For now same as _barWidth
|
||||
private float _topBuffer; // Space from top to the top of y axis
|
||||
|
|
@ -69,7 +69,7 @@ namespace Server.Engines.Reports
|
|||
private bool _displayLegend;
|
||||
private float _legendWidth;
|
||||
private string _longestLabel = string.Empty; // Used to calculate legend width
|
||||
private float _maxLabelWidth = 0.0f;
|
||||
private float _maxLabelWidth;
|
||||
|
||||
public string FontFamily
|
||||
{
|
||||
|
|
|
|||
|
|
@ -77,7 +77,7 @@ namespace Server.Misc
|
|||
|
||||
public static Type[] LesserArtifacts => m_LesserArtifacts[(int)RewardEra-1];
|
||||
|
||||
private static Type[][] m_GreaterArtifacts = null;
|
||||
private static Type[][] m_GreaterArtifacts;
|
||||
|
||||
public static Type[] GreaterArtifacts
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue