Reorganizes Project (#41)
This commit is contained in:
parent
08bf44af9a
commit
3614a66aee
3499 changed files with 79 additions and 55 deletions
22
Projects/Scripts/Mobiles/Vendors/PresetMapBuy.cs
Normal file
22
Projects/Scripts/Mobiles/Vendors/PresetMapBuy.cs
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
using Server.Items;
|
||||
|
||||
namespace Server.Mobiles
|
||||
{
|
||||
public class PresetMapBuyInfo : GenericBuyInfo
|
||||
{
|
||||
private 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()
|
||||
{
|
||||
return new PresetMap(m_Entry);
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue