17 lines
No EOL
455 B
C#
17 lines
No EOL
455 B
C#
using Server.Items;
|
|
|
|
namespace Server.Mobiles
|
|
{
|
|
public class PresetMapBuyInfo : GenericBuyInfo
|
|
{
|
|
private readonly PresetMapEntry m_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() => new PresetMap(m_Entry);
|
|
}
|
|
} |