Adds style cop (#109)

This commit is contained in:
Kamron Batman 2020-04-26 00:16:02 -07:00 • committed by GitHub
parent 3e715bcb60
commit 556a17aba8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
1725 changed files with 33831 additions and 38046 deletions

View file

@ -166,8 +166,8 @@ namespace Server.Engines.Quests.Necro
private class SpeakPasswordEntry : ContextMenuEntry
{
private PlayerMobile m_From;
private Horus m_Horus;
private readonly PlayerMobile m_From;
private readonly Horus m_Horus;
public SpeakPasswordEntry(Horus horus, PlayerMobile from, bool enabled) : base(6193, 3)
{

View file

@ -48,7 +48,7 @@ namespace Server.Engines.Quests.Necro
}
else
{
player.SendLocalizedMessage(1114333); //You must be young to have this item recharged.
player.SendLocalizedMessage(1114333); // You must be young to have this item recharged.
}
return false;

View file

@ -148,7 +148,7 @@ namespace Server.Engines.Quests.Necro
private class SummonTimer : Timer
{
private SummonedPaladin m_Paladin;
private PlayerMobile m_Player;
private readonly PlayerMobile m_Player;
private int m_Step;
public SummonTimer(PlayerMobile player) : base(TimeSpan.FromSeconds(4.0))