Overwrite
Complete Overwrite of the Folder with the free shard. ServUO 57.3 has been added.
This commit is contained in:
43
Scripts/Services/Craft/Core/CraftGroup.cs
Normal file
43
Scripts/Services/Craft/Core/CraftGroup.cs
Normal file
@@ -0,0 +1,43 @@
|
||||
using System;
|
||||
|
||||
namespace Server.Engines.Craft
|
||||
{
|
||||
public class CraftGroup
|
||||
{
|
||||
private readonly CraftItemCol m_arCraftItem;
|
||||
private readonly string m_NameString;
|
||||
private readonly int m_NameNumber;
|
||||
public CraftGroup(TextDefinition groupName)
|
||||
{
|
||||
this.m_NameNumber = groupName;
|
||||
this.m_NameString = groupName;
|
||||
this.m_arCraftItem = new CraftItemCol();
|
||||
}
|
||||
|
||||
public CraftItemCol CraftItems
|
||||
{
|
||||
get
|
||||
{
|
||||
return this.m_arCraftItem;
|
||||
}
|
||||
}
|
||||
public string NameString
|
||||
{
|
||||
get
|
||||
{
|
||||
return this.m_NameString;
|
||||
}
|
||||
}
|
||||
public int NameNumber
|
||||
{
|
||||
get
|
||||
{
|
||||
return this.m_NameNumber;
|
||||
}
|
||||
}
|
||||
public void AddCraftItem(CraftItem craftItem)
|
||||
{
|
||||
this.m_arCraftItem.Add(craftItem);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user