Changes properties to use automatic property initializers
This commit is contained in:
parent
f0a48ad431
commit
06fa31a7bf
623 changed files with 13072 additions and 19304 deletions
|
|
@ -8,11 +8,9 @@ namespace Server.Guilds
|
|||
{
|
||||
public abstract class BaseGuildGump : Gump
|
||||
{
|
||||
private Guild m_Guild;
|
||||
private PlayerMobile m_Player;
|
||||
protected Guild guild { get; }
|
||||
|
||||
protected Guild guild => m_Guild;
|
||||
protected PlayerMobile player => m_Player;
|
||||
protected PlayerMobile player { get; }
|
||||
|
||||
public BaseGuildGump( PlayerMobile pm, Guild g ) : this( pm, g, 10, 10 )
|
||||
{
|
||||
|
|
@ -20,8 +18,8 @@ namespace Server.Guilds
|
|||
|
||||
public BaseGuildGump( PlayerMobile pm, Guild g, int x, int y ) : base( x, y )
|
||||
{
|
||||
m_Guild = g;
|
||||
m_Player = pm;
|
||||
guild = g;
|
||||
player = pm;
|
||||
|
||||
pm.CloseGump( typeof( BaseGuildGump ) );
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue