Пример #1
0
        public static Struct8 smethod_5(Struct8 struct8_0, int int_2)
        {
            byte[] array = new byte[4];
            array[0] = struct8_0.byte_0;
            array[1] = struct8_0.byte_1;
            array[2] = struct8_0.byte_2;
            int num = BitConverter.ToInt32(array, 0);

            num >>= int_2;
            return(Struct8.smethod_1(num));
        }
Пример #2
0
 public static Struct8 smethod_14(int int_0)
 {
     return(Struct8.smethod_1(int_0 >> 8));
 }
Пример #3
0
 public static Struct8 smethod_5(short short_0)
 {
     return(Struct8.smethod_1((int)short_0 << 8));
 }
Пример #4
0
        public static Struct8 smethod_22(double double_0)
        {
            double num = Math.Round(double_0 * 8388607.0);

            return(Struct8.smethod_1((num > 8388607.0) ? 8388607 : ((num < -8388608.0) ? -8388608 : ((int)num))));
        }
Пример #5
0
 public static Struct8 smethod_1(byte byte_0)
 {
     return(Struct8.smethod_1((int)(byte_0 - 128) << 16));
 }