Upgrades code style - First batch (#22)

This commit is contained in:
Kamron Batman 2018-08-14 06:16:50 +08:00 • committed by GitHub
parent 8ee42c8ea2
commit 632e8b4757
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
1834 changed files with 10245 additions and 10437 deletions

View file

@ -14,7 +14,7 @@ namespace Server.Engines.Quests.Naturalist
/* Find an entrance to the Solen Hive, and search within for the Solen
* Egg Nests. Each Nest must be studied for some time without a break in
* concentration in order to gather useful information.<BR><BR>
*
*
* Once you have completed your study of the Nests, return to the Naturalist
* who gave you this task.
*/
@ -22,7 +22,7 @@ namespace Server.Engines.Quests.Naturalist
}
}
public override int MaxProgress{ get{ return NestArea.NonSpecialCount; } }
public override int MaxProgress => NestArea.NonSpecialCount;
private NestArea m_CurrentNest;
private DateTime m_StudyBegin;
@ -200,4 +200,4 @@ namespace Server.Engines.Quests.Naturalist
gump.AddLabel( 130, 280, 0x64, count );
}
}
}
}

View file

@ -18,7 +18,7 @@ namespace Server.Engines.Quests.Naturalist
typeof( FullBackpackConversation )
};
public override Type[] TypeReferenceTable{ get{ return m_TypeReferenceTable; } }
public override Type[] TypeReferenceTable => m_TypeReferenceTable;
public override object Name
{
@ -65,10 +65,10 @@ namespace Server.Engines.Quests.Naturalist
}
}
public override TimeSpan RestartDelay{ get{ return TimeSpan.Zero; } }
public override TimeSpan RestartDelay => TimeSpan.Zero;
public override bool IsTutorial => false;
public override int Picture{ get{ return 0x15C7; } }
public override int Picture => 0x15C7;
private Naturalist m_Naturalist;