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
|
|
@ -42,17 +42,11 @@ namespace Server
|
|||
|
||||
public static class Effects
|
||||
{
|
||||
private static ParticleSupportType m_ParticleSupportType = ParticleSupportType.Detect;
|
||||
|
||||
public static ParticleSupportType ParticleSupportType
|
||||
{
|
||||
get => m_ParticleSupportType;
|
||||
set => m_ParticleSupportType = value;
|
||||
}
|
||||
public static ParticleSupportType ParticleSupportType { get; set; } = ParticleSupportType.Detect;
|
||||
|
||||
public static bool SendParticlesTo( NetState state )
|
||||
{
|
||||
return ( m_ParticleSupportType == ParticleSupportType.Full || (m_ParticleSupportType == ParticleSupportType.Detect && state.IsUOTDClient) );
|
||||
return ( ParticleSupportType == ParticleSupportType.Full || (ParticleSupportType == ParticleSupportType.Detect && state.IsUOTDClient) );
|
||||
}
|
||||
|
||||
public static void PlaySound( IPoint3D p, Map map, int soundID )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue