Changes properties to use automatic property initializers

This commit is contained in:
Kamron Batman 2018-09-14 15:23:29 -07:00
parent f0a48ad431
commit 06fa31a7bf
623 changed files with 13072 additions and 19304 deletions

View file

@ -4,38 +4,17 @@ namespace Server.Engines.Craft
{
public class CraftSubResCol : System.Collections.CollectionBase
{
private Type m_Type;
private string m_NameString;
private int m_NameNumber;
private bool m_Init;
public bool Init { get; set; }
public bool Init
{
get => m_Init;
set => m_Init = value;
}
public Type ResType
{
get => m_Type;
set => m_Type = value;
}
public Type ResType { get; set; }
public string NameString
{
get => m_NameString;
set => m_NameString = value;
}
public string NameString { get; set; }
public int NameNumber
{
get => m_NameNumber;
set => m_NameNumber = value;
}
public int NameNumber { get; set; }
public CraftSubResCol()
{
m_Init = false;
Init = false;
}
public void Add( CraftSubRes craftSubRes )