Fixes code according to modern code style. Fixes a few expression bugs.
This commit is contained in:
parent
89eea25e5f
commit
970fd563b2
3324 changed files with 441118 additions and 433755 deletions
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue