ModernUO/Projects/Scripts/Engines/Craft/Core/CraftSubRes.cs
2019-08-02 18:16:11 -07:00

34 lines
790 B
C#

using System;
namespace Server.Engines.Craft
{
public class CraftSubRes
{
public CraftSubRes(Type type, TextDefinition name, double reqSkill, object message) : this(type, name, reqSkill, 0,
message)
{
}
public CraftSubRes(Type type, TextDefinition name, double reqSkill, int genericNameNumber, object message)
{
ItemType = type;
NameNumber = name;
NameString = name;
RequiredSkill = reqSkill;
GenericNameNumber = genericNameNumber;
Message = message;
}
public Type ItemType{ get; }
public string NameString{ get; }
public int NameNumber{ get; }
public int GenericNameNumber{ get; }
public object Message{ get; }
public double RequiredSkill{ get; }
}
}