Example #1
0
 public ModelData(Saint.Quad key, Saint.Stain stain)
 {
     Key   = key;
     Stain = stain;
 }
Example #2
0
 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);
     }
 }
Example #3
0
 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);
     }
 }
Example #4
0
 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;
 }
Example #6
0
 public QuestRewardItem(Item item, int count, Stain stain)
 {
     this.Item  = item;
     this.Count = count;
     this.Stain = stain;
 }