Upgrades code style - First batch (#22)
This commit is contained in:
parent
8ee42c8ea2
commit
632e8b4757
1834 changed files with 10245 additions and 10437 deletions
|
|
@ -54,7 +54,7 @@ namespace Server.Engines.Quests.Collector
|
|||
typeof( Collector.MakeRoomObjective )
|
||||
};
|
||||
|
||||
public override Type[] TypeReferenceTable{ get{ return m_TypeReferenceTable; } }
|
||||
public override Type[] TypeReferenceTable => m_TypeReferenceTable;
|
||||
|
||||
public override object Name
|
||||
{
|
||||
|
|
@ -91,10 +91,10 @@ namespace Server.Engines.Quests.Collector
|
|||
}
|
||||
}
|
||||
|
||||
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 0x15A9; } }
|
||||
public override int Picture => 0x15A9;
|
||||
|
||||
public CollectorQuest( PlayerMobile from ) : base( from )
|
||||
{
|
||||
|
|
|
|||
|
|
@ -90,11 +90,11 @@ namespace Server.Engines.Quests.Collector
|
|||
private int m_X;
|
||||
private int m_Y;
|
||||
|
||||
public int Figurine { get { return m_Figurine; } }
|
||||
public Type Type { get { return m_Type; } }
|
||||
public int Figurine => m_Figurine;
|
||||
public Type Type => m_Type;
|
||||
public int Name { get { return m_Figurine < 0x4000 ? 1020000 + m_Figurine : 1078872 + m_Figurine; } }
|
||||
public int X { get { return m_X; } }
|
||||
public int Y { get { return m_Y; } }
|
||||
public int X => m_X;
|
||||
public int Y => m_Y;
|
||||
|
||||
public ImageTypeInfo( int figurine, Type type, int x, int y )
|
||||
{
|
||||
|
|
@ -104,4 +104,4 @@ namespace Server.Engines.Quests.Collector
|
|||
m_Y = y;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -120,7 +120,7 @@ namespace Server.Engines.Quests.Collector
|
|||
set { m_StatueName = value; InvalidateProperties(); }
|
||||
}
|
||||
|
||||
public override bool ForceShowProperties { get { return ObjectPropertyList.Enabled; } }
|
||||
public override bool ForceShowProperties => ObjectPropertyList.Enabled;
|
||||
|
||||
[Constructible]
|
||||
public Obsidian() : base( 0x1EA7 )
|
||||
|
|
@ -261,4 +261,4 @@ namespace Server.Engines.Quests.Collector
|
|||
m_StatueName = Utility.Intern( reader.ReadString() );
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@ namespace Server.Engines.Quests.Collector
|
|||
}
|
||||
}
|
||||
|
||||
public override int MaxProgress{ get{ return 6; } }
|
||||
public override int MaxProgress => 6;
|
||||
|
||||
public FishPearlsObjective()
|
||||
{
|
||||
|
|
@ -530,4 +530,4 @@ namespace Server.Engines.Quests.Collector
|
|||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue