// // Generated by the protocol buffer compiler. DO NOT EDIT! // source: rec_room/transform_data.proto // #pragma warning disable 1591, 0612, 3021, 8981 #region Designer generated code using pb = global::Google.Protobuf; using pbc = global::Google.Protobuf.Collections; using pbr = global::Google.Protobuf.Reflection; using scg = global::System.Collections.Generic; namespace RecRoom.Protobuf { /// Holder for reflection information generated from rec_room/transform_data.proto public static partial class TransformDataReflection { #region Descriptor /// File descriptor for rec_room/transform_data.proto public static pbr::FileDescriptor Descriptor { get { return descriptor; } } private static pbr::FileDescriptor descriptor; static TransformDataReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( "Ch1yZWNfcm9vbS90cmFuc2Zvcm1fZGF0YS5wcm90bxIIcmVjX3Jvb20aGmNv", "cmUvcXVhdGVybmlvbl9kYXRhLnByb3RvGhdjb3JlL3ZlY3RvcjNfZGF0YS5w", "cm90byL/AQoNVHJhbnNmb3JtRGF0YRIjCghwb3NpdGlvbhgBIAEoCzIRLmNv", "cmUuVmVjdG9yM0RhdGESLgoTREVQUkVDQVRFRF9yb3RhdGlvbhgCIAEoCzIR", "LmNvcmUuVmVjdG9yM0RhdGESNwocREVQUkVDQVRFRF9zY2FsZV9ub25fdW5p", "Zm9ybRgDIAEoCzIRLmNvcmUuVmVjdG9yM0RhdGESHgoWREVQUkVDQVRFRF9p", "c19zbGVlcGluZxgEIAEoCBINCgVzY2FsZRgFIAEoAhIxChNxdWF0ZXJuaW9u", "X3JvdGF0aW9uGAYgASgLMhQuY29yZS5RdWF0ZXJuaW9uRGF0YUITqgIQUmVj", "Um9vbS5Qcm90b2J1ZmIGcHJvdG8z")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { global::RecRoom.Protobuf.Core.QuaternionDataReflection.Descriptor, global::RecRoom.Protobuf.Core.Vector3DataReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::RecRoom.Protobuf.TransformData), global::RecRoom.Protobuf.TransformData.Parser, new[]{ "Position", "DEPRECATEDRotation", "DEPRECATEDScaleNonUniform", "DEPRECATEDIsSleeping", "Scale", "QuaternionRotation" }, null, null, null, null) })); } #endregion } #region Messages [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] public sealed partial class TransformData : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new TransformData()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { get { return global::RecRoom.Protobuf.TransformDataReflection.Descriptor.MessageTypes[0]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public TransformData() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public TransformData(TransformData other) : this() { position_ = other.position_ != null ? other.position_.Clone() : null; dEPRECATEDRotation_ = other.dEPRECATEDRotation_ != null ? other.dEPRECATEDRotation_.Clone() : null; dEPRECATEDScaleNonUniform_ = other.dEPRECATEDScaleNonUniform_ != null ? other.dEPRECATEDScaleNonUniform_.Clone() : null; dEPRECATEDIsSleeping_ = other.dEPRECATEDIsSleeping_; scale_ = other.scale_; quaternionRotation_ = other.quaternionRotation_ != null ? other.quaternionRotation_.Clone() : null; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public TransformData Clone() { return new TransformData(this); } /// Field number for the "position" field. public const int PositionFieldNumber = 1; private global::RecRoom.Protobuf.Core.Vector3Data position_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::RecRoom.Protobuf.Core.Vector3Data Position { get { return position_; } set { position_ = value; } } /// Field number for the "DEPRECATED_rotation" field. public const int DEPRECATEDRotationFieldNumber = 2; private global::RecRoom.Protobuf.Core.Vector3Data dEPRECATEDRotation_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::RecRoom.Protobuf.Core.Vector3Data DEPRECATEDRotation { get { return dEPRECATEDRotation_; } set { dEPRECATEDRotation_ = value; } } /// Field number for the "DEPRECATED_scale_non_uniform" field. public const int DEPRECATEDScaleNonUniformFieldNumber = 3; private global::RecRoom.Protobuf.Core.Vector3Data dEPRECATEDScaleNonUniform_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::RecRoom.Protobuf.Core.Vector3Data DEPRECATEDScaleNonUniform { get { return dEPRECATEDScaleNonUniform_; } set { dEPRECATEDScaleNonUniform_ = value; } } /// Field number for the "DEPRECATED_is_sleeping" field. public const int DEPRECATEDIsSleepingFieldNumber = 4; private bool dEPRECATEDIsSleeping_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool DEPRECATEDIsSleeping { get { return dEPRECATEDIsSleeping_; } set { dEPRECATEDIsSleeping_ = value; } } /// Field number for the "scale" field. public const int ScaleFieldNumber = 5; private float scale_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public float Scale { get { return scale_; } set { scale_ = value; } } /// Field number for the "quaternion_rotation" field. public const int QuaternionRotationFieldNumber = 6; private global::RecRoom.Protobuf.Core.QuaternionData quaternionRotation_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::RecRoom.Protobuf.Core.QuaternionData QuaternionRotation { get { return quaternionRotation_; } set { quaternionRotation_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as TransformData); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(TransformData other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (!object.Equals(Position, other.Position)) return false; if (!object.Equals(DEPRECATEDRotation, other.DEPRECATEDRotation)) return false; if (!object.Equals(DEPRECATEDScaleNonUniform, other.DEPRECATEDScaleNonUniform)) return false; if (DEPRECATEDIsSleeping != other.DEPRECATEDIsSleeping) return false; if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Scale, other.Scale)) return false; if (!object.Equals(QuaternionRotation, other.QuaternionRotation)) return false; return Equals(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; if (position_ != null) hash ^= Position.GetHashCode(); if (dEPRECATEDRotation_ != null) hash ^= DEPRECATEDRotation.GetHashCode(); if (dEPRECATEDScaleNonUniform_ != null) hash ^= DEPRECATEDScaleNonUniform.GetHashCode(); if (DEPRECATEDIsSleeping != false) hash ^= DEPRECATEDIsSleeping.GetHashCode(); if (Scale != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Scale); if (quaternionRotation_ != null) hash ^= QuaternionRotation.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return hash; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void WriteTo(pb::CodedOutputStream output) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE output.WriteRawMessage(this); #else if (position_ != null) { output.WriteRawTag(10); output.WriteMessage(Position); } if (dEPRECATEDRotation_ != null) { output.WriteRawTag(18); output.WriteMessage(DEPRECATEDRotation); } if (dEPRECATEDScaleNonUniform_ != null) { output.WriteRawTag(26); output.WriteMessage(DEPRECATEDScaleNonUniform); } if (DEPRECATEDIsSleeping != false) { output.WriteRawTag(32); output.WriteBool(DEPRECATEDIsSleeping); } if (Scale != 0F) { output.WriteRawTag(45); output.WriteFloat(Scale); } if (quaternionRotation_ != null) { output.WriteRawTag(50); output.WriteMessage(QuaternionRotation); } if (_unknownFields != null) { _unknownFields.WriteTo(output); } #endif } #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { if (position_ != null) { output.WriteRawTag(10); output.WriteMessage(Position); } if (dEPRECATEDRotation_ != null) { output.WriteRawTag(18); output.WriteMessage(DEPRECATEDRotation); } if (dEPRECATEDScaleNonUniform_ != null) { output.WriteRawTag(26); output.WriteMessage(DEPRECATEDScaleNonUniform); } if (DEPRECATEDIsSleeping != false) { output.WriteRawTag(32); output.WriteBool(DEPRECATEDIsSleeping); } if (Scale != 0F) { output.WriteRawTag(45); output.WriteFloat(Scale); } if (quaternionRotation_ != null) { output.WriteRawTag(50); output.WriteMessage(QuaternionRotation); } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); } } #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; if (position_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(Position); } if (dEPRECATEDRotation_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(DEPRECATEDRotation); } if (dEPRECATEDScaleNonUniform_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(DEPRECATEDScaleNonUniform); } if (DEPRECATEDIsSleeping != false) { size += 1 + 1; } if (Scale != 0F) { size += 1 + 4; } if (quaternionRotation_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(QuaternionRotation); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(TransformData other) { if (other == null) { return; } if (other.position_ != null) { if (position_ == null) { Position = new global::RecRoom.Protobuf.Core.Vector3Data(); } Position.MergeFrom(other.Position); } if (other.dEPRECATEDRotation_ != null) { if (dEPRECATEDRotation_ == null) { DEPRECATEDRotation = new global::RecRoom.Protobuf.Core.Vector3Data(); } DEPRECATEDRotation.MergeFrom(other.DEPRECATEDRotation); } if (other.dEPRECATEDScaleNonUniform_ != null) { if (dEPRECATEDScaleNonUniform_ == null) { DEPRECATEDScaleNonUniform = new global::RecRoom.Protobuf.Core.Vector3Data(); } DEPRECATEDScaleNonUniform.MergeFrom(other.DEPRECATEDScaleNonUniform); } if (other.DEPRECATEDIsSleeping != false) { DEPRECATEDIsSleeping = other.DEPRECATEDIsSleeping; } if (other.Scale != 0F) { Scale = other.Scale; } if (other.quaternionRotation_ != null) { if (quaternionRotation_ == null) { QuaternionRotation = new global::RecRoom.Protobuf.Core.QuaternionData(); } QuaternionRotation.MergeFrom(other.QuaternionRotation); } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(pb::CodedInputStream input) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE input.ReadRawMessage(this); #else uint tag; while ((tag = input.ReadTag()) != 0) { if ((tag & 7) == 4) { // Abort on any end group tag. return; } switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 10: { if (position_ == null) { Position = new global::RecRoom.Protobuf.Core.Vector3Data(); } input.ReadMessage(Position); break; } case 18: { if (dEPRECATEDRotation_ == null) { DEPRECATEDRotation = new global::RecRoom.Protobuf.Core.Vector3Data(); } input.ReadMessage(DEPRECATEDRotation); break; } case 26: { if (dEPRECATEDScaleNonUniform_ == null) { DEPRECATEDScaleNonUniform = new global::RecRoom.Protobuf.Core.Vector3Data(); } input.ReadMessage(DEPRECATEDScaleNonUniform); break; } case 32: { DEPRECATEDIsSleeping = input.ReadBool(); break; } case 45: { Scale = input.ReadFloat(); break; } case 50: { if (quaternionRotation_ == null) { QuaternionRotation = new global::RecRoom.Protobuf.Core.QuaternionData(); } input.ReadMessage(QuaternionRotation); break; } } } #endif } #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { uint tag; while ((tag = input.ReadTag()) != 0) { if ((tag & 7) == 4) { // Abort on any end group tag. return; } switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 10: { if (position_ == null) { Position = new global::RecRoom.Protobuf.Core.Vector3Data(); } input.ReadMessage(Position); break; } case 18: { if (dEPRECATEDRotation_ == null) { DEPRECATEDRotation = new global::RecRoom.Protobuf.Core.Vector3Data(); } input.ReadMessage(DEPRECATEDRotation); break; } case 26: { if (dEPRECATEDScaleNonUniform_ == null) { DEPRECATEDScaleNonUniform = new global::RecRoom.Protobuf.Core.Vector3Data(); } input.ReadMessage(DEPRECATEDScaleNonUniform); break; } case 32: { DEPRECATEDIsSleeping = input.ReadBool(); break; } case 45: { Scale = input.ReadFloat(); break; } case 50: { if (quaternionRotation_ == null) { QuaternionRotation = new global::RecRoom.Protobuf.Core.QuaternionData(); } input.ReadMessage(QuaternionRotation); break; } } } } #endif } #endregion } #endregion Designer generated code