Fixes body expression style.

This commit is contained in:
Kamron Batman 2018-09-14 08:46:14 -07:00
parent 3f0a72a62f
commit 33f5e77a24
957 changed files with 7424 additions and 15973 deletions

View file

@ -454,13 +454,14 @@ namespace Server.Engines.PartySystem
}
}
public int Count{ get{ return m_Members.Count; } }
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 => m_Candidates;
public int Count => m_Members.Count;
public bool Active => m_Members.Count > 1;
public Mobile Leader => m_Leader;
public List<PartyMemberInfo> Members => m_Members;
public List<Mobile> Candidates => m_Candidates;
public PartyMemberInfo this[int index] => m_Members[index];
public PartyMemberInfo this[int index]{ get{ return m_Members[index]; } }
public PartyMemberInfo this[Mobile m]
{
get

View file

@ -5,8 +5,10 @@ namespace Server.Engines.PartySystem
private Mobile m_Mobile;
private bool m_CanLoot;
public Mobile Mobile{ get{ return m_Mobile; } }
public bool CanLoot{ get{ return m_CanLoot; } set{ m_CanLoot = value; } }
public Mobile Mobile => m_Mobile;
public bool CanLoot{ get => m_CanLoot;
set => m_CanLoot = value;
}
public PartyMemberInfo( Mobile m )
{