public static NestedTypeSameName Deserialize(global::Improbable.Worker.CInterop.SchemaObject obj) { var instance = new NestedTypeSameName(); { instance.NestedField = obj.GetInt32(1); } return(instance); }
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); } }
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); }
public static void Serialize(NestedTypeSameName instance, global::Improbable.Worker.CInterop.SchemaObject obj) { { obj.AddInt32(1, instance.NestedField); } }
public static NestedTypeSameName Deserialize(global::Improbable.Worker.CInterop.SchemaObject obj) { var instance = new NestedTypeSameName(); return(instance); }
public static void Serialize(NestedTypeSameName instance, global::Improbable.Worker.CInterop.SchemaObject obj) { }