Upgrades code style - First batch (#22)
This commit is contained in:
parent
8ee42c8ea2
commit
632e8b4757
1834 changed files with 10245 additions and 10437 deletions
|
|
@ -6,7 +6,7 @@ namespace Server.Ethics
|
|||
{
|
||||
private static EthicsPersistance m_Instance;
|
||||
|
||||
public static EthicsPersistance Instance { get { return m_Instance; } }
|
||||
public static EthicsPersistance Instance => m_Instance;
|
||||
|
||||
public override string DefaultName
|
||||
{
|
||||
|
|
@ -63,4 +63,4 @@ namespace Server.Ethics
|
|||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -56,8 +56,8 @@ namespace Server.Ethics
|
|||
|
||||
private DateTime m_Shield;
|
||||
|
||||
public Ethic Ethic { get { return m_Ethic; } }
|
||||
public Mobile Mobile { get { return m_Mobile; } }
|
||||
public Ethic Ethic => m_Ethic;
|
||||
public Mobile Mobile => m_Mobile;
|
||||
|
||||
[CommandProperty( AccessLevel.GameMaster, AccessLevel.Administrator )]
|
||||
public int Power { get { return m_Power; } set { m_Power = value; } }
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ namespace Server.Ethics
|
|||
{
|
||||
protected PowerDefinition m_Definition;
|
||||
|
||||
public PowerDefinition Definition { get { return m_Definition; } }
|
||||
public PowerDefinition Definition => m_Definition;
|
||||
|
||||
public virtual bool CheckInvoke( Player from )
|
||||
{
|
||||
|
|
@ -31,4 +31,4 @@ namespace Server.Ethics
|
|||
from.Power -= m_Definition.Power;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue