// // Generated by the protocol buffer compiler. DO NOT EDIT! // source: circuits_v2/player_world_text_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 CircuitsV2.Protobuf { /// Holder for reflection information generated from circuits_v2/player_world_text_data.proto public static partial class PlayerWorldTextDataReflection { #region Descriptor /// File descriptor for circuits_v2/player_world_text_data.proto public static pbr::FileDescriptor Descriptor { get { return descriptor; } } private static pbr::FileDescriptor descriptor; static PlayerWorldTextDataReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( "CihjaXJjdWl0c192Mi9wbGF5ZXJfd29ybGRfdGV4dF9kYXRhLnByb3RvEgtj", "aXJjdWl0c192MiJAChNQbGF5ZXJXb3JsZFRleHREYXRhEgwKBHNob3cYASAB", "KAgSDAoEdGV4dBgCIAEoCRINCgVjb2xvchgDIAEoBUIWqgITQ2lyY3VpdHNW", "Mi5Qcm90b2J1ZmIGcHJvdG8z")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::CircuitsV2.Protobuf.PlayerWorldTextData), global::CircuitsV2.Protobuf.PlayerWorldTextData.Parser, new[]{ "Show", "Text", "Color" }, null, null, null, null) })); } #endregion } #region Messages [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] public sealed partial class PlayerWorldTextData : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new PlayerWorldTextData()); 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::CircuitsV2.Protobuf.PlayerWorldTextDataReflection.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 PlayerWorldTextData() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public PlayerWorldTextData(PlayerWorldTextData other) : this() { show_ = other.show_; text_ = other.text_; color_ = other.color_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public PlayerWorldTextData Clone() { return new PlayerWorldTextData(this); } /// Field number for the "show" field. public const int ShowFieldNumber = 1; private bool show_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Show { get { return show_; } set { show_ = value; } } /// Field number for the "text" field. public const int TextFieldNumber = 2; private string text_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string Text { get { return text_; } set { text_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "color" field. public const int ColorFieldNumber = 3; private int color_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int Color { get { return color_; } set { color_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as PlayerWorldTextData); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(PlayerWorldTextData other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (Show != other.Show) return false; if (Text != other.Text) return false; if (Color != other.Color) 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 (Show != false) hash ^= Show.GetHashCode(); if (Text.Length != 0) hash ^= Text.GetHashCode(); if (Color != 0) hash ^= Color.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 (Show != false) { output.WriteRawTag(8); output.WriteBool(Show); } if (Text.Length != 0) { output.WriteRawTag(18); output.WriteString(Text); } if (Color != 0) { output.WriteRawTag(24); output.WriteInt32(Color); } 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 (Show != false) { output.WriteRawTag(8); output.WriteBool(Show); } if (Text.Length != 0) { output.WriteRawTag(18); output.WriteString(Text); } if (Color != 0) { output.WriteRawTag(24); output.WriteInt32(Color); } 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 (Show != false) { size += 1 + 1; } if (Text.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(Text); } if (Color != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(Color); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(PlayerWorldTextData other) { if (other == null) { return; } if (other.Show != false) { Show = other.Show; } if (other.Text.Length != 0) { Text = other.Text; } if (other.Color != 0) { Color = other.Color; } _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 8: { Show = input.ReadBool(); break; } case 18: { Text = input.ReadString(); break; } case 24: { Color = 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 8: { Show = input.ReadBool(); break; } case 18: { Text = input.ReadString(); break; } case 24: { Color = input.ReadInt32(); break; } } } } #endif } #endregion } #endregion Designer generated code