Exemple #1
0
 public IntModification(ItemSpecPropertyEnum property,
                        int min,
                        int max)
 {
     _property = (short)property;
     _max      = max;
     _min      = min;
 }
Exemple #2
0
 public FloatModification(ItemSpecPropertyEnum property,
                          float min,
                          float max)
 {
     _property = (short)property;
     _max      = max;
     _min      = min;
 }
Exemple #3
0
 public bool HasProperty(ItemSpecPropertyEnum prop)
 {
     return(_properties.ContainsKey((short)prop));
 }
Exemple #4
0
 public ItemSpecProperty GetProperty(ItemSpecPropertyEnum prop)
 {
     return(_properties.ContainsKey((short)prop) ? _properties[(short)prop] : null);
 }
Exemple #5
0
 public ItemSpecProperty(ItemSpecPropertyEnum id, object data) : base((short)id, data)
 {
 }
Exemple #6
0
 public ItemSpecProperty(ItemSpecPropertyEnum id, Vector3 data) : base((short)id, data)
 {
 }
Exemple #7
0
 public ItemSpecProperty(ItemSpecPropertyEnum id, byte data) : base((short)id, data)
 {
 }
Exemple #8
0
 public ItemSpecProperty(ItemSpecPropertyEnum id, string data) : base((short)id, data)
 {
 }
Exemple #9
0
 public FloatModification(ItemSpecPropertyEnum property,
                          float range)
 {
     _property = (short)property;
     _range    = range;
 }