// // Generated by the protocol buffer compiler. DO NOT EDIT! // source: rec_room/persistence/textured_quad_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/persistence/textured_quad_data.proto public static partial class TexturedQuadDataReflection { #region Descriptor /// File descriptor for rec_room/persistence/textured_quad_data.proto public static pbr::FileDescriptor Descriptor { get { return descriptor; } } private static pbr::FileDescriptor descriptor; static TexturedQuadDataReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( "Ci1yZWNfcm9vbS9wZXJzaXN0ZW5jZS90ZXh0dXJlZF9xdWFkX2RhdGEucHJv", "dG8SCHJlY19yb29tIlkKEFRleHR1cmVkUXVhZERhdGESEwoLYXNwZWN0UmF0", "aW8YASABKAISGgoSYXV0b0ZpdEFzcGVjdFJhdGlvGAIgASgIEhQKDG1hdGVy", "aWFsVHlwZRgDIAEoBUITqgIQUmVjUm9vbS5Qcm90b2J1ZmIGcHJvdG8z")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::RecRoom.Protobuf.TexturedQuadData), global::RecRoom.Protobuf.TexturedQuadData.Parser, new[]{ "AspectRatio", "AutoFitAspectRatio", "MaterialType" }, null, null, null, null) })); } #endregion } #region Messages [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] public sealed partial class TexturedQuadData : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new TexturedQuadData()); 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.TexturedQuadDataReflection.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 TexturedQuadData() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public TexturedQuadData(TexturedQuadData other) : this() { aspectRatio_ = other.aspectRatio_; autoFitAspectRatio_ = other.autoFitAspectRatio_; materialType_ = other.materialType_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public TexturedQuadData Clone() { return new TexturedQuadData(this); } /// Field number for the "aspectRatio" field. public const int AspectRatioFieldNumber = 1; private float aspectRatio_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public float AspectRatio { get { return aspectRatio_; } set { aspectRatio_ = value; } } /// Field number for the "autoFitAspectRatio" field. public const int AutoFitAspectRatioFieldNumber = 2; private bool autoFitAspectRatio_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool AutoFitAspectRatio { get { return autoFitAspectRatio_; } set { autoFitAspectRatio_ = value; } } /// Field number for the "materialType" field. public const int MaterialTypeFieldNumber = 3; private int materialType_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int MaterialType { get { return materialType_; } set { materialType_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as TexturedQuadData); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(TexturedQuadData other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(AspectRatio, other.AspectRatio)) return false; if (AutoFitAspectRatio != other.AutoFitAspectRatio) return false; if (MaterialType != other.MaterialType) 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 (AspectRatio != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(AspectRatio); if (AutoFitAspectRatio != false) hash ^= AutoFitAspectRatio.GetHashCode(); if (MaterialType != 0) hash ^= MaterialType.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 (AspectRatio != 0F) { output.WriteRawTag(13); output.WriteFloat(AspectRatio); } if (AutoFitAspectRatio != false) { output.WriteRawTag(16); output.WriteBool(AutoFitAspectRatio); } if (MaterialType != 0) { output.WriteRawTag(24); output.WriteInt32(MaterialType); } 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 (AspectRatio != 0F) { output.WriteRawTag(13); output.WriteFloat(AspectRatio); } if (AutoFitAspectRatio != false) { output.WriteRawTag(16); output.WriteBool(AutoFitAspectRatio); } if (MaterialType != 0) { output.WriteRawTag(24); output.WriteInt32(MaterialType); } 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 (AspectRatio != 0F) { size += 1 + 4; } if (AutoFitAspectRatio != false) { size += 1 + 1; } if (MaterialType != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(MaterialType); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(TexturedQuadData other) { if (other == null) { return; } if (other.AspectRatio != 0F) { AspectRatio = other.AspectRatio; } if (other.AutoFitAspectRatio != false) { AutoFitAspectRatio = other.AutoFitAspectRatio; } if (other.MaterialType != 0) { MaterialType = other.MaterialType; } _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 13: { AspectRatio = input.ReadFloat(); break; } case 16: { AutoFitAspectRatio = input.ReadBool(); break; } case 24: { MaterialType = input.ReadInt32(); 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 13: { AspectRatio = input.ReadFloat(); break; } case 16: { AutoFitAspectRatio = input.ReadBool(); break; } case 24: { MaterialType = input.ReadInt32(); break; } } } } #endif } #endregion } #endregion Designer generated code