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

@ -34,9 +34,9 @@ namespace Server.Engines.Plants
private PlantHue m_PlantHue;
private Type m_ResourceType;
public PlantType PlantType { get { return m_PlantType; } }
public PlantHue PlantHue { get { return m_PlantHue; } }
public Type ResourceType { get { return m_ResourceType; } }
public PlantType PlantType => m_PlantType;
public PlantHue PlantHue => m_PlantHue;
public Type ResourceType => m_ResourceType;
private PlantResourceInfo( PlantType plantType, PlantHue plantHue, Type resourceType )
{
@ -50,4 +50,4 @@ namespace Server.Engines.Plants
return (Item)Activator.CreateInstance( m_ResourceType );
}
}
}
}