Пример #1
0
		public override double GetValue(Stats vals) {
			if (inner != null)
				return inner.GetValue(vals);
			else if (key != MultiAttr.Null) {

			}
			else if (value != null)
				return value ?? 0;
			return 0;
		}
Пример #2
0
 public override double GetValue(Stats vals)
 {
     if (Inner != null)
     {
         return(Inner.GetValue(vals));
     }
     else if (Key != MultiAttr.Null)
     {
     }
     else if (Value != null)
     {
         return(Value ?? 0);
     }
     return(0);
 }