Пример #1
0
 public void LongKeyIsValid(ref byte longKey, ref byte shortKey, byte defLongKey)
 {
     if (Class15.smethod_12(longKey, ButtonForm.MIN_KEY, ButtonForm.MAX_KEY))
     {
         if (longKey == 2)
         {
             shortKey = 3;
         }
         else if (longKey == 3)
         {
             shortKey = 2;
         }
     }
     else
     {
         longKey = defLongKey;
     }
 }