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

@ -15,42 +15,36 @@ namespace Server.Engines.Quests
public abstract object Message{ get; }
public virtual int MaxProgress{ get{ return 1; } }
public virtual QuestItemInfo[] Info{ get{ return null; } }
public virtual int MaxProgress => 1;
public virtual QuestItemInfo[] Info => null;
public QuestSystem System
{
get{ return m_System; }
set{ m_System = value; }
get => m_System;
set => m_System = value;
}
public bool HasBeenRead
{
get{ return m_HasBeenRead; }
set{ m_HasBeenRead = value; }
get => m_HasBeenRead;
set => m_HasBeenRead = value;
}
public int CurProgress
{
get{ return m_CurProgress; }
get => m_CurProgress;
set{ m_CurProgress = value; CheckCompletionStatus(); }
}
public bool HasCompleted
{
get{ return m_HasCompleted; }
set{ m_HasCompleted = value; }
get => m_HasCompleted;
set => m_HasCompleted = value;
}
public virtual bool Completed
{
get{ return m_CurProgress >= MaxProgress; }
}
public virtual bool Completed => m_CurProgress >= MaxProgress;
public bool IsSingleObjective
{
get{ return ( MaxProgress == 1 ); }
}
public bool IsSingleObjective => ( MaxProgress == 1 );
public QuestObjective()
{