public static void Serialize(IntAbsolute instance, global::Improbable.Worker.CInterop.SchemaObject obj) { { obj.AddInt32(1, instance.X); } { obj.AddInt32(2, instance.Y); } { obj.AddInt32(3, instance.Z); } }
public static IntAbsolute Deserialize(global::Improbable.Worker.CInterop.SchemaObject obj) { var instance = new IntAbsolute(); { instance.X = obj.GetInt32(1); } { instance.Y = obj.GetInt32(2); } { instance.Z = obj.GetInt32(3); } return(instance); }