Upgrades code style - First batch (#22)

This commit is contained in:
Kamron Batman 2018-08-14 06:16:50 +08:00 • committed by GitHub
parent 8ee42c8ea2
commit 632e8b4757
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
1834 changed files with 10245 additions and 10437 deletions

View file

@ -1,9 +1,9 @@
using System;
using System.Collections.Generic;
using Server.Items;
using System;
using System.Collections.Generic;
using Server.Items;
namespace Server.Mobiles
{
namespace Server.Mobiles
{
public class SBVarietyDealer : SBInfo
{
private List<GenericBuyInfo> m_BuyInfo = new InternalBuyInfo();
@ -13,8 +13,8 @@ namespace Server.Mobiles
{
}
public override IShopSellInfo SellInfo { get { return m_SellInfo; } }
public override List<GenericBuyInfo> BuyInfo { get { return m_BuyInfo; } }
public override IShopSellInfo SellInfo => m_SellInfo;
public override List<GenericBuyInfo> BuyInfo => m_BuyInfo;
public class InternalBuyInfo : List<GenericBuyInfo>
{
@ -36,14 +36,14 @@ namespace Server.Mobiles
Add( new GenericBuyInfo( typeof( Bolt ), 6, Utility.Random( 30, 60 ), 0x1BFB, 0 ) );
Add( new GenericBuyInfo( typeof( Arrow ), 3, Utility.Random( 30, 60 ), 0xF3F, 0 ) );
Add( new GenericBuyInfo( typeof( BlackPearl ), 5, 999, 0xF7A, 0 ) );
Add( new GenericBuyInfo( typeof( Bloodmoss ), 5, 999, 0xF7B, 0 ) );
Add( new GenericBuyInfo( typeof( MandrakeRoot ), 3, 999, 0xF86, 0 ) );
Add( new GenericBuyInfo( typeof( Garlic ), 3, 999, 0xF84, 0 ) );
Add( new GenericBuyInfo( typeof( Ginseng ), 3, 999, 0xF85, 0 ) );
Add( new GenericBuyInfo( typeof( Nightshade ), 3, 999, 0xF88, 0 ) );
Add( new GenericBuyInfo( typeof( SpidersSilk ), 3, 999, 0xF8D, 0 ) );
Add( new GenericBuyInfo( typeof( SulfurousAsh ), 3, 999, 0xF8C, 0 ) );
Add( new GenericBuyInfo( typeof( BlackPearl ), 5, 999, 0xF7A, 0 ) );
Add( new GenericBuyInfo( typeof( Bloodmoss ), 5, 999, 0xF7B, 0 ) );
Add( new GenericBuyInfo( typeof( MandrakeRoot ), 3, 999, 0xF86, 0 ) );
Add( new GenericBuyInfo( typeof( Garlic ), 3, 999, 0xF84, 0 ) );
Add( new GenericBuyInfo( typeof( Ginseng ), 3, 999, 0xF85, 0 ) );
Add( new GenericBuyInfo( typeof( Nightshade ), 3, 999, 0xF88, 0 ) );
Add( new GenericBuyInfo( typeof( SpidersSilk ), 3, 999, 0xF8D, 0 ) );
Add( new GenericBuyInfo( typeof( SulfurousAsh ), 3, 999, 0xF8C, 0 ) );
Add( new GenericBuyInfo( typeof( BreadLoaf ), 7, 10, 0x103B, 0 ) );
Add( new GenericBuyInfo( typeof( Backpack ), 15, 20, 0x9B2, 0 ) );
@ -133,4 +133,4 @@ namespace Server.Mobiles
}
}
}
}
}