public Asda2ItemStackTemplate(Asda2ItemId id, int amount) { this = new Asda2ItemStackTemplate(Asda2ItemMgr.GetTemplate(id), amount); if (m_Template == null) { throw new ArgumentException("id " + id + " is invalid."); } }
public Asda2ItemStackTemplate(Asda2ItemId id) { this = new Asda2ItemStackTemplate(Asda2ItemMgr.GetTemplate(id), 1); if (this.m_Template == null) { throw new ArgumentException("ItemId " + (object)id + " is invalid."); } }
public Asda2ItemStackTemplate(Asda2ItemTemplate templ) { this = new Asda2ItemStackTemplate(templ, templ.MaxAmount); }