C# 9 Cleanup (#325)
- [X] Removes EventArgs - not needed - [X] Merges sequential checks - [X] Removes redundant type declarations
This commit is contained in:
parent
351611a23a
commit
3551d962f7
417 changed files with 2209 additions and 2213 deletions
|
|
@ -32,27 +32,27 @@ namespace Server.Engines.Quests.Collector
|
|||
{
|
||||
private static readonly ImageTypeInfo[] m_Table =
|
||||
{
|
||||
new ImageTypeInfo(9734, typeof(Betrayer), 75, 45),
|
||||
new ImageTypeInfo(9735, typeof(Bogling), 75, 45),
|
||||
new ImageTypeInfo(9736, typeof(BogThing), 60, 47),
|
||||
new ImageTypeInfo(9615, typeof(Gazer), 75, 45),
|
||||
new ImageTypeInfo(9743, typeof(Beetle), 60, 55),
|
||||
new ImageTypeInfo(9667, typeof(GiantBlackWidow), 55, 52),
|
||||
new ImageTypeInfo(9657, typeof(Scorpion), 65, 47),
|
||||
new ImageTypeInfo(9758, typeof(JukaMage), 75, 45),
|
||||
new ImageTypeInfo(9759, typeof(JukaWarrior), 75, 45),
|
||||
new ImageTypeInfo(9636, typeof(Lich), 75, 45),
|
||||
new ImageTypeInfo(9756, typeof(MeerMage), 75, 45),
|
||||
new ImageTypeInfo(9757, typeof(MeerWarrior), 75, 45),
|
||||
new ImageTypeInfo(9638, typeof(Mongbat), 70, 50),
|
||||
new ImageTypeInfo(9639, typeof(Mummy), 75, 45),
|
||||
new ImageTypeInfo(9654, typeof(Pixie), 75, 45),
|
||||
new ImageTypeInfo(9747, typeof(PlagueBeast), 60, 45),
|
||||
new ImageTypeInfo(9750, typeof(SandVortex), 60, 43),
|
||||
new ImageTypeInfo(9614, typeof(StoneGargoyle), 75, 45),
|
||||
new ImageTypeInfo(9753, typeof(SwampDragon), 50, 55),
|
||||
new ImageTypeInfo(8448, typeof(Wisp), 75, 45),
|
||||
new ImageTypeInfo(9746, typeof(Juggernaut), 55, 38)
|
||||
new(9734, typeof(Betrayer), 75, 45),
|
||||
new(9735, typeof(Bogling), 75, 45),
|
||||
new(9736, typeof(BogThing), 60, 47),
|
||||
new(9615, typeof(Gazer), 75, 45),
|
||||
new(9743, typeof(Beetle), 60, 55),
|
||||
new(9667, typeof(GiantBlackWidow), 55, 52),
|
||||
new(9657, typeof(Scorpion), 65, 47),
|
||||
new(9758, typeof(JukaMage), 75, 45),
|
||||
new(9759, typeof(JukaWarrior), 75, 45),
|
||||
new(9636, typeof(Lich), 75, 45),
|
||||
new(9756, typeof(MeerMage), 75, 45),
|
||||
new(9757, typeof(MeerWarrior), 75, 45),
|
||||
new(9638, typeof(Mongbat), 70, 50),
|
||||
new(9639, typeof(Mummy), 75, 45),
|
||||
new(9654, typeof(Pixie), 75, 45),
|
||||
new(9747, typeof(PlagueBeast), 60, 45),
|
||||
new(9750, typeof(SandVortex), 60, 43),
|
||||
new(9614, typeof(StoneGargoyle), 75, 45),
|
||||
new(9753, typeof(SwampDragon), 50, 55),
|
||||
new(8448, typeof(Wisp), 75, 45),
|
||||
new(9746, typeof(Juggernaut), 55, 38)
|
||||
};
|
||||
|
||||
public ImageTypeInfo(int figurine, Type type, int x, int y)
|
||||
|
|
|
|||
|
|
@ -53,7 +53,7 @@ namespace Server.Engines.Quests.Collector
|
|||
|
||||
public class SitOnTheStoolObjective : QuestObjective
|
||||
{
|
||||
private static readonly Point3D m_StoolLocation = new Point3D(2899, 706, 0);
|
||||
private static readonly Point3D m_StoolLocation = new(2899, 706, 0);
|
||||
private static readonly Map m_StoolMap = Map.Trammel;
|
||||
|
||||
private DateTime m_Begin;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue