Fixes body expression style.
This commit is contained in:
parent
3f0a72a62f
commit
33f5e77a24
957 changed files with 7424 additions and 15973 deletions
|
|
@ -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()
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue