Adds style cop (#109)
This commit is contained in:
parent
3e715bcb60
commit
556a17aba8
1725 changed files with 33831 additions and 38046 deletions
|
|
@ -4,8 +4,8 @@ namespace Server.ContextMenus
|
|||
{
|
||||
public class AddToPartyEntry : ContextMenuEntry
|
||||
{
|
||||
private Mobile m_From;
|
||||
private Mobile m_Target;
|
||||
private readonly Mobile m_From;
|
||||
private readonly Mobile m_Target;
|
||||
|
||||
public AddToPartyEntry(Mobile from, Mobile target) : base(0197, 12)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@ namespace Server.ContextMenus
|
|||
|
||||
private class InternalTarget : Target
|
||||
{
|
||||
private SpellScroll m_Scroll;
|
||||
private readonly SpellScroll m_Scroll;
|
||||
|
||||
public InternalTarget(SpellScroll scroll) : base(3, false, TargetFlags.None) => m_Scroll = scroll;
|
||||
|
||||
|
|
|
|||
|
|
@ -4,8 +4,8 @@ namespace Server.ContextMenus
|
|||
{
|
||||
public class EatEntry : ContextMenuEntry
|
||||
{
|
||||
private Food m_Food;
|
||||
private Mobile m_From;
|
||||
private readonly Food m_Food;
|
||||
private readonly Mobile m_From;
|
||||
|
||||
public EatEntry(Mobile from, Food food) : base(6135, 1)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -4,9 +4,9 @@ namespace Server.ContextMenus
|
|||
{
|
||||
public class EjectPlayerEntry : ContextMenuEntry
|
||||
{
|
||||
private Mobile m_From;
|
||||
private Mobile m_Target;
|
||||
private BaseHouse m_TargetHouse;
|
||||
private readonly Mobile m_From;
|
||||
private readonly Mobile m_Target;
|
||||
private readonly BaseHouse m_TargetHouse;
|
||||
|
||||
public EjectPlayerEntry(Mobile from, Mobile target) : base(6206, 12)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@ namespace Server.ContextMenus
|
|||
{
|
||||
public class OpenBankEntry : ContextMenuEntry
|
||||
{
|
||||
private Mobile m_Banker;
|
||||
private readonly Mobile m_Banker;
|
||||
|
||||
public OpenBankEntry(Mobile from, Mobile banker) : base(6105, 12) => m_Banker = banker;
|
||||
|
||||
|
|
|
|||
|
|
@ -5,9 +5,9 @@ namespace Server.ContextMenus
|
|||
{
|
||||
public class TeachEntry : ContextMenuEntry
|
||||
{
|
||||
private Mobile m_From;
|
||||
private BaseCreature m_Mobile;
|
||||
private SkillName m_Skill;
|
||||
private readonly Mobile m_From;
|
||||
private readonly BaseCreature m_Mobile;
|
||||
private readonly SkillName m_Skill;
|
||||
|
||||
public TeachEntry(SkillName skill, BaseCreature m, Mobile from, bool enabled) : base(6000 + (int)skill)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue