Beispiel #1
0
 public static unsafe void Write(global::Improbable.Worker.Internal.GcHandlePool _pool,
                                 Other0 _data, global::Improbable.Worker.Internal.Pbio.Object *_obj)
 {
     {
         global::Improbable.Worker.Internal.Pbio.AddInt32(_obj, 1, _data.foo);
     }
 }
Beispiel #2
0
                        public static Other0 Deserialize(global::Improbable.Worker.Core.SchemaObject obj)
                        {
                            var instance = new Other0();

                            instance.Foo = obj.GetInt32(1);
                            return(instance);
                        }
Beispiel #3
0
                    public static Other0 ToNative(global::Improbable.Gdk.Tests.TypeName.Other.NestedTypeName.Other0 spatialType)
                    {
                        var nativeType = new Other0();

                        nativeType.Foo = spatialType.foo;
                        return(nativeType);
                    }
Beispiel #4
0
                        public static Other0 Deserialize(global::Improbable.Worker.CInterop.SchemaObject obj)
                        {
                            var instance = new Other0();

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

                            return(instance);
                        }
                        public static Other0 Deserialize(global::Improbable.Worker.CInterop.SchemaObject obj)
                        {
                            var instance = new Other0();

                            return(instance);
                        }
 public static void Serialize(Other0 instance, global::Improbable.Worker.CInterop.SchemaObject obj)
 {
 }
Beispiel #7
0
 public static void Serialize(Other0 instance, global::Improbable.Worker.CInterop.SchemaObject obj)
 {
     {
         obj.AddInt32(1, instance.Foo);
     }
 }
Beispiel #8
0
 public static void Serialize(Other0 instance, global::Improbable.Worker.CInterop.SchemaObject obj)
 {
     {
         global::Improbable.TestSchema.NestedTypeSameName.Other.NestedTypeSameName.Other0.NestedTypeSameName.Serialization.Serialize(instance.Field, obj.AddObject(1));
     }
 }