Formatting FIxes (#58)
This commit is contained in:
parent
57fb9fb525
commit
096d39609e
1318 changed files with 11633 additions and 22129 deletions
|
|
@ -202,10 +202,7 @@ namespace Server.Engines.MLQuests
|
|||
return quest != null && IsDoingQuest(quest);
|
||||
}
|
||||
|
||||
public bool IsDoingQuest(MLQuest quest)
|
||||
{
|
||||
return FindInstance(quest) != null;
|
||||
}
|
||||
public bool IsDoingQuest(MLQuest quest) => FindInstance(quest) != null;
|
||||
|
||||
public void Serialize(GenericWriter writer)
|
||||
{
|
||||
|
|
@ -230,10 +227,7 @@ namespace Server.Engines.MLQuests
|
|||
writer.WriteEncodedInt((int)m_Flags);
|
||||
}
|
||||
|
||||
public bool GetFlag(MLQuestFlag flag)
|
||||
{
|
||||
return (m_Flags & flag) != 0;
|
||||
}
|
||||
public bool GetFlag(MLQuestFlag flag) => (m_Flags & flag) != 0;
|
||||
|
||||
public void SetFlag(MLQuestFlag flag, bool value)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue