Fixes body expression style.

This commit is contained in:
Kamron Batman 2018-09-14 08:46:14 -07:00
parent 3f0a72a62f
commit 33f5e77a24
957 changed files with 7424 additions and 15973 deletions

View file

@ -24,13 +24,23 @@ namespace Server.Items
private PuzzleChestCylinder[] m_Cylinders = new PuzzleChestCylinder[Length];
public PuzzleChestCylinder[] Cylinders{ get{ return m_Cylinders; } }
public PuzzleChestCylinder[] Cylinders => m_Cylinders;
public PuzzleChestCylinder First{ get{ return m_Cylinders[0]; } set{ m_Cylinders[0] = value; } }
public PuzzleChestCylinder Second{ get{ return m_Cylinders[1]; } set{ m_Cylinders[1] = value; } }
public PuzzleChestCylinder Third{ get{ return m_Cylinders[2]; } set{ m_Cylinders[2] = value; } }
public PuzzleChestCylinder Fourth{ get{ return m_Cylinders[3]; } set{ m_Cylinders[3] = value; } }
public PuzzleChestCylinder Fifth{ get{ return m_Cylinders[4]; } set{ m_Cylinders[4] = value; } }
public PuzzleChestCylinder First{ get => m_Cylinders[0];
set => m_Cylinders[0] = value;
}
public PuzzleChestCylinder Second{ get => m_Cylinders[1];
set => m_Cylinders[1] = value;
}
public PuzzleChestCylinder Third{ get => m_Cylinders[2];
set => m_Cylinders[2] = value;
}
public PuzzleChestCylinder Fourth{ get => m_Cylinders[3];
set => m_Cylinders[3] = value;
}
public PuzzleChestCylinder Fifth{ get => m_Cylinders[4];
set => m_Cylinders[4] = value;
}
public static PuzzleChestCylinder RandomCylinder()
{
@ -149,7 +159,7 @@ namespace Server.Items
{
private DateTime m_When;
public DateTime When{ get{ return m_When; } }
public DateTime When => m_When;
public PuzzleChestSolutionAndTime( DateTime when, PuzzleChestSolution solution ) : base( solution )
{
@ -184,7 +194,7 @@ namespace Server.Items
public PuzzleChestSolution Solution
{
get{ return m_Solution; }
get => m_Solution;
set
{
m_Solution = value;
@ -192,16 +202,19 @@ namespace Server.Items
}
}
public PuzzleChestCylinder[] Hints{ get{ return m_Hints; } }
public PuzzleChestCylinder[] Hints => m_Hints;
public PuzzleChestCylinder FirstHint{ get{ return m_Hints[0]; } set{ m_Hints[0] = value; } }
public PuzzleChestCylinder SecondHint{ get{ return m_Hints[1]; } set{ m_Hints[1] = value; } }
public PuzzleChestCylinder ThirdHint{ get{ return m_Hints[2]; } set{ m_Hints[2] = value; } }
public override string DefaultName
{
get { return null; }
public PuzzleChestCylinder FirstHint{ get => m_Hints[0];
set => m_Hints[0] = value;
}
public PuzzleChestCylinder SecondHint{ get => m_Hints[1];
set => m_Hints[1] = value;
}
public PuzzleChestCylinder ThirdHint{ get => m_Hints[2];
set => m_Hints[2] = value;
}
public override string DefaultName => null;
public PuzzleChest( int itemID ) : base( itemID )
{