Exemple #1
0
 bool tryResolveName(jmpHash hash, out string name)
 {
     name = null;
     if (mResolver == null)
     {
         return(false);
     }
     return(mResolver(hash, out name));
 }
Exemple #2
0
 public string this[jmpHash hash] {
     get {
         string name;
         if (!mNames.TryGetValue(hash, out name))
         {
             return(null);
         }
         return(name);
     }
 }
Exemple #3
0
 public int this[jmpHash hash] {
     get {
         for (var i = 0; i < mFields.Length; ++i)
         {
             if (mFields[i].hash == hash)
             {
                 return(i);
             }
         }
         return(-1);
     }
 }
Exemple #4
0
 public jmpValue this[int index, jmpHash hash] {
     get {
         return(this[index, this[hash]]);
     }
 }