Upgrades code style - First batch (#22)

This commit is contained in:
Kamron Batman 2018-08-14 06:16:50 +08:00 committed by GitHub
parent 8ee42c8ea2
commit 632e8b4757
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
1834 changed files with 10245 additions and 10437 deletions

View file

@ -40,9 +40,9 @@ namespace Server.Gumps
m_Y = Y;
}
public int ArtID { get { return m_Art; } }
public int BodyID { get { return m_Body; } }
public int LocNumber{ get { return m_Num; } }
public int ArtID => m_Art;
public int BodyID => m_Body;
public int LocNumber => m_Num;
public int X{ get{ return m_X; } }
public int Y{ get{ return m_Y; } }
}
@ -61,8 +61,8 @@ namespace Server.Gumps
m_Entries = entries;
}
public PolymorphEntry[] Entries{ get { return m_Entries; } }
public int LocNumber{ get { return m_Num; } }
public PolymorphEntry[] Entries => m_Entries;
public int LocNumber => m_Num;
}
private static PolymorphCategory[] Categories = new PolymorphCategory[]
@ -244,4 +244,4 @@ namespace Server.Gumps
spell.Cast();
}
}
}
}