Exemple #1
0
            public override void addKnownField(string name, StringType @string, Annotation annotation)
            {
                switch (name)
                {
                case "age":
                    unchecked { new f4(V64.get(), this); }
                    return;

                case "name":
                    unchecked { new f5(@string, this); }
                    return;

                case "seen":
                    unchecked { new f6(BoolType.get(), this); }
                    return;

                case "someintegersinalist":
                    unchecked { new f7(new ListType <int>(I32.get()), this); }
                    return;

                case "somemap":
                    unchecked { new f8(new MapType <string, string>(@string, @string), this); }
                    return;

                case "somereference":
                    unchecked { new f9(([email protected])(((SkillState)Owner).NoSerializedDatas()), this); }
                    return;
                }
            }
Exemple #2
0
            public override void addKnownField(string name, StringType @string, Annotation annotation)
            {
                switch (name)
                {
                case "bool":
                    unchecked { new f0(([email protected])(((SkillState)Owner).ZBooleans()), this); }
                    return;

                case "boolean":
                    unchecked { new f1(BoolType.get(), this); }
                    return;
                }
            }