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

@ -16,11 +16,11 @@ namespace Server.Items
private TextDefinition m_NotNearbyMessage, m_Name;
public TextDefinition NotNearbyMessage{ get { return m_NotNearbyMessage; } }
public TextDefinition Name { get { return m_Name; } }
public TextDefinition Name => m_Name;
public CraftSystem System { get { return m_System; } }
public Type[] NearbyTypes { get { return m_NearbyTypes; } }
public CraftSystem System => m_System;
public Type[] NearbyTypes => m_NearbyTypes;
public RepairSkillInfo( CraftSystem system, Type[] nearbyTypes, TextDefinition notNearbyMessage, TextDefinition name )
{
@ -35,7 +35,7 @@ namespace Server.Items
{
}
public static RepairSkillInfo[] Table { get { return m_Table; } }
public static RepairSkillInfo[] Table => m_Table;
private static RepairSkillInfo[] m_Table = new RepairSkillInfo[]
{
new RepairSkillInfo( DefBlacksmithy.CraftSystem, typeof( Blacksmith ), 1047013, 1023015 ),