Fixes body expression style.
This commit is contained in:
parent
3f0a72a62f
commit
33f5e77a24
957 changed files with 7424 additions and 15973 deletions
|
|
@ -11,8 +11,8 @@ namespace Server.Guilds
|
|||
private Guild m_Guild;
|
||||
private PlayerMobile m_Player;
|
||||
|
||||
protected Guild guild{ get{ return m_Guild; } }
|
||||
protected PlayerMobile player{ get{ return m_Player; } }
|
||||
protected Guild guild => m_Guild;
|
||||
protected PlayerMobile player => m_Player;
|
||||
|
||||
public BaseGuildGump( PlayerMobile pm, Guild g ) : this( pm, g, 10, 10 )
|
||||
{
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@ namespace Server.Guilds
|
|||
m_List = list;
|
||||
}
|
||||
|
||||
public virtual bool WillFilter{ get{ return (m_Filter.Length >= 0); } }
|
||||
public virtual bool WillFilter => (m_Filter.Length >= 0);
|
||||
|
||||
public override void PopulateGump()
|
||||
{
|
||||
|
|
@ -192,8 +192,8 @@ namespace Server.Guilds
|
|||
private int m_Width;
|
||||
private IComparer<T> m_Comparer;
|
||||
|
||||
public TextDefinition Name{ get{ return m_Name; } }
|
||||
public int Width{ get{ return m_Width; } }
|
||||
public TextDefinition Name => m_Name;
|
||||
public int Width => m_Width;
|
||||
public IComparer<T> Comparer => m_Comparer;
|
||||
public InfoField( TextDefinition name, int width, IComparer<T> comparer )
|
||||
{
|
||||
|
|
|
|||
|
|
@ -14,7 +14,8 @@ namespace Server.Guilds
|
|||
|
||||
public class GuildDiplomacyGump : BaseGuildListGump<Guild>
|
||||
{
|
||||
protected virtual bool AllowAdvancedSearch{ get{ return true; } }
|
||||
protected virtual bool AllowAdvancedSearch => true;
|
||||
|
||||
#region Comparers
|
||||
private class NameComparer : IComparer<Guild>
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue