Ejemplo n.º 1
0
        public static Class197 smethod_0(Interface8 reader)
        {
            reader.imethod_10();
            string   key = reader.imethod_14();
            Class197 class197;

            if (key == "ref")
            {
                int index = reader.imethod_5();
                class197 = (Class197)reader.imethod_1(index);
                if (class197 == null)
                {
                    throw new Exception0("Missing subentity : " + (object)index);
                }
            }
            else
            {
                Class197.Delegate4 delegate4;
                if (!Class197.dictionary_0.TryGetValue(key, out delegate4))
                {
                    throw new Exception0("Not supported sub spline surface primitive type : " + key);
                }
                class197 = delegate4();
                reader.imethod_2((Class196)class197);
                class197.method_2(reader);
                class197.imethod_0(reader);
                class197.vmethod_1(reader);
            }
            reader.imethod_9();
            return(class197);
        }
Ejemplo n.º 2
0
        public static Class224 smethod_0(Interface8 reader)
        {
            reader.imethod_10();
            string   key = reader.imethod_14();
            Class224 class224;

            if (key == "ref")
            {
                int index = reader.imethod_5();
                class224 = (Class224)reader.imethod_1(index);
                if (class224 == null)
                {
                    throw new Exception0("Missing subentity : " + (object)index);
                }
            }
            else
            {
                Class224.Delegate5 delegate5;
                if (!Class224.dictionary_0.TryGetValue(key, out delegate5))
                {
                    throw new Exception0("Not supported sub curve type : " + key);
                }
                class224 = delegate5();
                reader.imethod_2((Class196)class224);
                class224.imethod_0(reader);
            }
            reader.imethod_9();
            return(class224);
        }