// // Generated by the protocol buffer compiler. DO NOT EDIT! // source: disc_strengthen.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 Proto { /// Holder for reflection information generated from disc_strengthen.proto public static partial class DiscStrengthenReflection { #region Descriptor /// File descriptor for disc_strengthen.proto public static pbr::FileDescriptor Descriptor { get { return descriptor; } } private static pbr::FileDescriptor descriptor; static DiscStrengthenReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( "ChVkaXNjX3N0cmVuZ3RoZW4ucHJvdG8SBXByb3RvGgxwdWJsaWMucHJvdG8i", "VQoRRGlzY1N0cmVuZ3RoZW5SZXESCgoCSWQYASABKA0SHgoFSXRlbXMYAiAD", "KAsyDy5wcm90by5JdGVtSW5mbxIUCgtOZXh0UGFja2FnZRj/DyABKAwiaQoS", "RGlzY1N0cmVuZ3RoZW5SZXNwEg0KBUxldmVsGAEgASgNEgsKA0V4cBgCIAEo", "DRIhCgZDaGFuZ2UYAyABKAsyES5wcm90by5DaGFuZ2VJbmZvEhQKC05leHRQ", "YWNrYWdlGP8PIAEoDFAAYgZwcm90bzM=")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { global::Proto.PublicReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Proto.DiscStrengthenReq), global::Proto.DiscStrengthenReq.Parser, new[]{ "Id", "Items", "NextPackage" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Proto.DiscStrengthenResp), global::Proto.DiscStrengthenResp.Parser, new[]{ "Level", "Exp", "Change", "NextPackage" }, null, null, null, null) })); } #endregion } #region Messages [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] public sealed partial class DiscStrengthenReq : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new DiscStrengthenReq()); 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::Proto.DiscStrengthenReflection.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 DiscStrengthenReq() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public DiscStrengthenReq(DiscStrengthenReq other) : this() { id_ = other.id_; items_ = other.items_.Clone(); nextPackage_ = other.nextPackage_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public DiscStrengthenReq Clone() { return new DiscStrengthenReq(this); } /// Field number for the "Id" field. public const int IdFieldNumber = 1; private uint id_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint Id { get { return id_; } set { id_ = value; } } /// Field number for the "Items" field. public const int ItemsFieldNumber = 2; private static readonly pb::FieldCodec _repeated_items_codec = pb::FieldCodec.ForMessage(18, global::Proto.ItemInfo.Parser); private readonly pbc::RepeatedField items_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField Items { get { return items_; } } /// Field number for the "NextPackage" field. public const int NextPackageFieldNumber = 2047; private pb::ByteString nextPackage_ = pb::ByteString.Empty; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pb::ByteString NextPackage { get { return nextPackage_; } set { nextPackage_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as DiscStrengthenReq); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(DiscStrengthenReq other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (Id != other.Id) return false; if(!items_.Equals(other.items_)) return false; if (NextPackage != other.NextPackage) 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 (Id != 0) hash ^= Id.GetHashCode(); hash ^= items_.GetHashCode(); if (NextPackage.Length != 0) hash ^= NextPackage.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 (Id != 0) { output.WriteRawTag(8); output.WriteUInt32(Id); } items_.WriteTo(output, _repeated_items_codec); if (NextPackage.Length != 0) { output.WriteRawTag(250, 127); output.WriteBytes(NextPackage); } 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 (Id != 0) { output.WriteRawTag(8); output.WriteUInt32(Id); } items_.WriteTo(ref output, _repeated_items_codec); if (NextPackage.Length != 0) { output.WriteRawTag(250, 127); output.WriteBytes(NextPackage); } 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 (Id != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Id); } size += items_.CalculateSize(_repeated_items_codec); if (NextPackage.Length != 0) { size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(DiscStrengthenReq other) { if (other == null) { return; } if (other.Id != 0) { Id = other.Id; } items_.Add(other.items_); if (other.NextPackage.Length != 0) { NextPackage = other.NextPackage; } _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: { Id = input.ReadUInt32(); break; } case 18: { items_.AddEntriesFrom(input, _repeated_items_codec); break; } case 16378: { NextPackage = input.ReadBytes(); 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: { Id = input.ReadUInt32(); break; } case 18: { items_.AddEntriesFrom(ref input, _repeated_items_codec); break; } case 16378: { NextPackage = input.ReadBytes(); break; } } } } #endif } [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] public sealed partial class DiscStrengthenResp : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new DiscStrengthenResp()); 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::Proto.DiscStrengthenReflection.Descriptor.MessageTypes[1]; } } [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 DiscStrengthenResp() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public DiscStrengthenResp(DiscStrengthenResp other) : this() { level_ = other.level_; exp_ = other.exp_; change_ = other.change_ != null ? other.change_.Clone() : null; nextPackage_ = other.nextPackage_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public DiscStrengthenResp Clone() { return new DiscStrengthenResp(this); } /// Field number for the "Level" field. public const int LevelFieldNumber = 1; private uint level_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint Level { get { return level_; } set { level_ = value; } } /// Field number for the "Exp" field. public const int ExpFieldNumber = 2; private uint exp_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint Exp { get { return exp_; } set { exp_ = value; } } /// Field number for the "Change" field. public const int ChangeFieldNumber = 3; private global::Proto.ChangeInfo change_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::Proto.ChangeInfo Change { get { return change_; } set { change_ = value; } } /// Field number for the "NextPackage" field. public const int NextPackageFieldNumber = 2047; private pb::ByteString nextPackage_ = pb::ByteString.Empty; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pb::ByteString NextPackage { get { return nextPackage_; } set { nextPackage_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as DiscStrengthenResp); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(DiscStrengthenResp other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (Level != other.Level) return false; if (Exp != other.Exp) return false; if (!object.Equals(Change, other.Change)) return false; if (NextPackage != other.NextPackage) 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 (Level != 0) hash ^= Level.GetHashCode(); if (Exp != 0) hash ^= Exp.GetHashCode(); if (change_ != null) hash ^= Change.GetHashCode(); if (NextPackage.Length != 0) hash ^= NextPackage.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 (Level != 0) { output.WriteRawTag(8); output.WriteUInt32(Level); } if (Exp != 0) { output.WriteRawTag(16); output.WriteUInt32(Exp); } if (change_ != null) { output.WriteRawTag(26); output.WriteMessage(Change); } if (NextPackage.Length != 0) { output.WriteRawTag(250, 127); output.WriteBytes(NextPackage); } 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 (Level != 0) { output.WriteRawTag(8); output.WriteUInt32(Level); } if (Exp != 0) { output.WriteRawTag(16); output.WriteUInt32(Exp); } if (change_ != null) { output.WriteRawTag(26); output.WriteMessage(Change); } if (NextPackage.Length != 0) { output.WriteRawTag(250, 127); output.WriteBytes(NextPackage); } 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 (Level != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Level); } if (Exp != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Exp); } if (change_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(Change); } if (NextPackage.Length != 0) { size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(DiscStrengthenResp other) { if (other == null) { return; } if (other.Level != 0) { Level = other.Level; } if (other.Exp != 0) { Exp = other.Exp; } if (other.change_ != null) { if (change_ == null) { Change = new global::Proto.ChangeInfo(); } Change.MergeFrom(other.Change); } if (other.NextPackage.Length != 0) { NextPackage = other.NextPackage; } _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: { Level = input.ReadUInt32(); break; } case 16: { Exp = input.ReadUInt32(); break; } case 26: { if (change_ == null) { Change = new global::Proto.ChangeInfo(); } input.ReadMessage(Change); break; } case 16378: { NextPackage = input.ReadBytes(); 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: { Level = input.ReadUInt32(); break; } case 16: { Exp = input.ReadUInt32(); break; } case 26: { if (change_ == null) { Change = new global::Proto.ChangeInfo(); } input.ReadMessage(Change); break; } case 16378: { NextPackage = input.ReadBytes(); break; } } } } #endif } #endregion } #endregion Designer generated code