public ModelData(Saint.Quad key, Saint.Stain stain) { Key = key; Stain = stain; }
void StoreModelKey(Dictionary <Saint.EquipSlot, ModelData> keys, UInt32 model, Saint.Stain stain, Saint.EquipSlot slot) { // UInt32.MaxValue is an override used to remove a piece from the template. if (model == UInt32.MaxValue) { keys.Remove(slot); } else if (model > 0) { keys[slot] = new ModelData(new Saint.Quad(model), stain); } }
void StoreModelKey(Dictionary <Saint.EquipSlot, ModelData> keys, Saint.Quad model, Saint.Stain stain, Saint.EquipSlot slot) { if (!model.IsEmpty) { keys[slot] = new ModelData(model, stain); } }
public QuestRewardItem(Item item, int count, Stain stain, bool isHq) : this(item, new[] { count }, stain, isHq) { }
public QuestRewardItem(Item item, int count, Stain stain) { this.Item = item; this.Count = count; this.Stain = stain; }