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

@ -361,7 +361,7 @@ namespace Server.Engines.PartySystem
}
private void SendToStaffMessage( Mobile from, string text )
{
{
Packet p = null;
foreach( NetState ns in from.GetClientsInRange( 8 ) )
@ -460,7 +460,7 @@ namespace Server.Engines.PartySystem
public bool Active{ get{ return m_Members.Count > 1; } }
public Mobile Leader{ get{ return m_Leader; } }
public List<PartyMemberInfo> Members{ get{ return m_Members; } }
public List<Mobile> Candidates { get { return m_Candidates; } }
public List<Mobile> Candidates => m_Candidates;
public PartyMemberInfo this[int index]{ get{ return m_Members[index]; } }
public PartyMemberInfo this[Mobile m]
@ -475,4 +475,4 @@ namespace Server.Engines.PartySystem
}
}
}
}
}