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
|
|
@ -9,33 +9,33 @@ namespace Server.Engines.MLQuests.Rewards
|
|||
public class ItemReward : BaseReward
|
||||
{
|
||||
public static readonly ItemReward
|
||||
SmallBagOfTrinkets = new ItemReward(1072268, typeof(SmallBagOfTrinkets)); // A small bag of trinkets.
|
||||
SmallBagOfTrinkets = new(1072268, typeof(SmallBagOfTrinkets)); // A small bag of trinkets.
|
||||
|
||||
public static readonly ItemReward
|
||||
BagOfTrinkets = new ItemReward(1072341, typeof(BagOfTrinkets)); // A bag of trinkets.
|
||||
BagOfTrinkets = new(1072341, typeof(BagOfTrinkets)); // A bag of trinkets.
|
||||
|
||||
public static readonly ItemReward
|
||||
BagOfTreasure = new ItemReward(1072583, typeof(BagOfTreasure)); // A bag of treasure.
|
||||
BagOfTreasure = new(1072583, typeof(BagOfTreasure)); // A bag of treasure.
|
||||
|
||||
public static readonly ItemReward
|
||||
LargeBagOfTreasure = new ItemReward(1072706, typeof(LargeBagOfTreasure)); // A large bag of treasure.
|
||||
LargeBagOfTreasure = new(1072706, typeof(LargeBagOfTreasure)); // A large bag of treasure.
|
||||
|
||||
public static readonly ItemReward Strongbox = new ItemReward(1072584, typeof(RewardStrongbox)); // A strongbox.
|
||||
public static readonly ItemReward Strongbox = new(1072584, typeof(RewardStrongbox)); // A strongbox.
|
||||
|
||||
public static readonly ItemReward
|
||||
TailorSatchel = new ItemReward(1074282, typeof(TailorSatchel)); // Craftsman's Satchel
|
||||
TailorSatchel = new(1074282, typeof(TailorSatchel)); // Craftsman's Satchel
|
||||
|
||||
public static readonly ItemReward
|
||||
BlacksmithSatchel = new ItemReward(1074282, typeof(BlacksmithSatchel)); // Craftsman's Satchel
|
||||
BlacksmithSatchel = new(1074282, typeof(BlacksmithSatchel)); // Craftsman's Satchel
|
||||
|
||||
public static readonly ItemReward
|
||||
FletchingSatchel = new ItemReward(1074282, typeof(FletchingSatchel)); // Craftsman's Satchel
|
||||
FletchingSatchel = new(1074282, typeof(FletchingSatchel)); // Craftsman's Satchel
|
||||
|
||||
public static readonly ItemReward
|
||||
CarpentrySatchel = new ItemReward(1074282, typeof(CarpentrySatchel)); // Craftsman's Satchel
|
||||
CarpentrySatchel = new(1074282, typeof(CarpentrySatchel)); // Craftsman's Satchel
|
||||
|
||||
public static readonly ItemReward
|
||||
TinkerSatchel = new ItemReward(1074282, typeof(TinkerSatchel)); // Craftsman's Satchel
|
||||
TinkerSatchel = new(1074282, typeof(TinkerSatchel)); // Craftsman's Satchel
|
||||
|
||||
private readonly int m_Amount;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue