Fixes code according to modern code style. Fixes a few expression bugs.

This commit is contained in:
Kamron Batman 2018-09-15 09:58:51 -07:00
parent 89eea25e5f
commit 970fd563b2
3324 changed files with 441118 additions and 433755 deletions

View file

@ -2,20 +2,21 @@ using Server.Items;
namespace Server.Mobiles
{
public class PresetMapBuyInfo : GenericBuyInfo
{
private PresetMapEntry m_Entry;
public class PresetMapBuyInfo : GenericBuyInfo
{
private PresetMapEntry m_Entry;
public override bool CanCacheDisplay => false;
public PresetMapBuyInfo(PresetMapEntry entry, int price, int amount) : base(entry.Name.ToString(), null, price,
amount, 0x14EC, 0)
{
m_Entry = entry;
}
public PresetMapBuyInfo( PresetMapEntry entry, int price, int amount ) : base( entry.Name.ToString(), null, price, amount, 0x14EC, 0 )
{
m_Entry = entry;
}
public override bool CanCacheDisplay => false;
public override IEntity GetEntity()
{
return new PresetMap( m_Entry );
}
}
}
public override IEntity GetEntity()
{
return new PresetMap(m_Entry);
}
}
}