Exemple #1
0
 public static int GetInteger(UniFields fields, string key, int defaultvalue)
 {
     if (fields == null)
     {
         return(defaultvalue);
     }
     return(fields.GetValue(key, defaultvalue));
 }
Exemple #2
0
 public static float GetFloat(UniFields fields, string key, float defaultvalue)
 {
     if (fields == null)
     {
         return(defaultvalue);
     }
     return(fields.GetValue(key, defaultvalue));
 }