Exemplo n.º 1
0
    // Token: 0x06000170 RID: 368 RVA: 0x0000FFDC File Offset: 0x0000E1DC
    public static Type smethod_4(Type type_0, Class15 <Struct87> class15_0)
    {
        Type type = type_0;

        while (class15_0.Count > 0)
        {
            Struct87 @struct = class15_0.method_6();
            switch (@struct.int_0)
            {
            case 0:
                type = type.MakePointerType();
                break;

            case 1:
                type = type.MakeByRefType();
                break;

            case 2:
                if (@struct.int_1 == 1)
                {
                    type = type.MakeArrayType();
                }
                else
                {
                    type = type.MakeArrayType(@struct.int_1);
                }
                break;
            }
        }
        return(type);
    }
Exemplo n.º 2
0
 public void method_0(Class15 class15_0)
 {
     Cell cell_ = new Cell(class15_0.method_0() + this.float_0, class15_0.method_1() + this.float_1, class15_0.method_3() + this.float_0, class15_0.method_4() + this.float_1, this.float_2 + class15_0.method_2(), this.float_2 + class15_0.method_5(), class15_0.method_6().HasFlag(Class16.Enum1.flag_0), class15_0.method_6().HasFlag(Class16.Enum1.flag_10), this.class23_0.scene_0);
     this.class23_0.navi_0.method_8(cell_);
 }