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
|
|
@ -2,18 +2,14 @@ namespace Server.Engines.PartySystem
|
|||
{
|
||||
public class PartyMemberInfo
|
||||
{
|
||||
private Mobile m_Mobile;
|
||||
private bool m_CanLoot;
|
||||
public Mobile Mobile { get; }
|
||||
|
||||
public Mobile Mobile => m_Mobile;
|
||||
public bool CanLoot{ get => m_CanLoot;
|
||||
set => m_CanLoot = value;
|
||||
}
|
||||
public bool CanLoot { get; set; }
|
||||
|
||||
public PartyMemberInfo( Mobile m )
|
||||
{
|
||||
m_Mobile = m;
|
||||
m_CanLoot = !Core.ML;
|
||||
Mobile = m;
|
||||
CanLoot = !Core.ML;
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue