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

@ -5,16 +5,15 @@ namespace Server.Items
{
public interface ILockpickable : IPoint2D
{
int LockLevel{ get; set; }
bool Locked{ get; set; }
Mobile Picker{ get; set; }
int MaxLockLevel{ get; set; }
int RequiredSkill{ get; set; }
int LockLevel { get; set; }
bool Locked { get; set; }
Mobile Picker { get; set; }
int MaxLockLevel { get; set; }
int RequiredSkill { get; set; }
void LockPick(Mobile from);
}
[Flippable(0x14fc, 0x14fb)]
public class Lockpick : Item
{
@ -54,7 +53,7 @@ namespace Server.Items
private class InternalTarget : Target
{
private Lockpick m_Item;
private readonly Lockpick m_Item;
public InternalTarget(Lockpick item) : base(1, false, TargetFlags.None) => m_Item = item;
@ -88,9 +87,9 @@ namespace Server.Items
private class InternalTimer : Timer
{
private Mobile m_From;
private ILockpickable m_Item;
private Lockpick m_Lockpick;
private readonly Mobile m_From;
private readonly ILockpickable m_Item;
private readonly Lockpick m_Lockpick;
public InternalTimer(Mobile from, ILockpickable item, Lockpick lockpick) : base(TimeSpan.FromSeconds(3.0))
{