コード例 #1
0
                    public static NestedTypeSameName Deserialize(global::Improbable.Worker.CInterop.SchemaObject obj)
                    {
                        var instance = new NestedTypeSameName();

                        {
                            instance.NestedField = obj.GetInt32(1);
                        }
                        return(instance);
                    }
コード例 #2
0
            public static void Serialize(NestedTypeSameName instance, global::Improbable.Worker.CInterop.SchemaObject obj)
            {
                {
                    global::Improbable.TestSchema.NestedTypeSameName.Other.NestedTypeSameName.Other0.NestedTypeSameName.Serialization.Serialize(instance.Other0Field, obj.AddObject(1));
                }

                {
                    obj.AddEnum(2, (uint)instance.Other1Field);
                }
            }
コード例 #3
0
            public static NestedTypeSameName Deserialize(global::Improbable.Worker.CInterop.SchemaObject obj)
            {
                var instance = new NestedTypeSameName();

                {
                    instance.Other0Field = global::Improbable.TestSchema.NestedTypeSameName.Other.NestedTypeSameName.Other0.NestedTypeSameName.Serialization.Deserialize(obj.GetObject(1));
                }

                {
                    instance.Other1Field = (global::Improbable.TestSchema.NestedTypeSameName.Other.NestedTypeSameName.Other1.NestedTypeSameName)obj.GetEnum(2);
                }

                return(instance);
            }
コード例 #4
0
 public static void Serialize(NestedTypeSameName instance, global::Improbable.Worker.CInterop.SchemaObject obj)
 {
     {
         obj.AddInt32(1, instance.NestedField);
     }
 }
コード例 #5
0
            public static NestedTypeSameName Deserialize(global::Improbable.Worker.CInterop.SchemaObject obj)
            {
                var instance = new NestedTypeSameName();

                return(instance);
            }
コード例 #6
0
 public static void Serialize(NestedTypeSameName instance, global::Improbable.Worker.CInterop.SchemaObject obj)
 {
 }