// // Generated by the protocol buffer compiler. DO NOT EDIT! // source: DoGachaCsReq.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 EggLink.DanhengServer.Proto { /// Holder for reflection information generated from DoGachaCsReq.proto public static partial class DoGachaCsReqReflection { #region Descriptor /// File descriptor for DoGachaCsReq.proto public static pbr::FileDescriptor Descriptor { get { return descriptor; } } private static pbr::FileDescriptor descriptor; static DoGachaCsReqReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( "ChJEb0dhY2hhQ3NSZXEucHJvdG8iYQoMRG9HYWNoYUNzUmVxEhEKCWdhY2hh", "X251bRgEIAEoDRIWCg5zaW11bGF0ZV9tYWdpYxgPIAEoDRIQCghnYWNoYV9p", "ZBgGIAEoDRIUCgxnYWNoYV9yYW5kb20YCiABKA1CHqoCG0VnZ0xpbmsuRGFu", "aGVuZ1NlcnZlci5Qcm90b2IGcHJvdG8z")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.DoGachaCsReq), global::EggLink.DanhengServer.Proto.DoGachaCsReq.Parser, new[]{ "GachaNum", "SimulateMagic", "GachaId", "GachaRandom" }, null, null, null, null) })); } #endregion } #region Messages [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] public sealed partial class DoGachaCsReq : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new DoGachaCsReq()); 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::EggLink.DanhengServer.Proto.DoGachaCsReqReflection.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 DoGachaCsReq() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public DoGachaCsReq(DoGachaCsReq other) : this() { gachaNum_ = other.gachaNum_; simulateMagic_ = other.simulateMagic_; gachaId_ = other.gachaId_; gachaRandom_ = other.gachaRandom_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public DoGachaCsReq Clone() { return new DoGachaCsReq(this); } /// Field number for the "gacha_num" field. public const int GachaNumFieldNumber = 4; private uint gachaNum_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint GachaNum { get { return gachaNum_; } set { gachaNum_ = value; } } /// Field number for the "simulate_magic" field. public const int SimulateMagicFieldNumber = 15; private uint simulateMagic_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint SimulateMagic { get { return simulateMagic_; } set { simulateMagic_ = value; } } /// Field number for the "gacha_id" field. public const int GachaIdFieldNumber = 6; private uint gachaId_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint GachaId { get { return gachaId_; } set { gachaId_ = value; } } /// Field number for the "gacha_random" field. public const int GachaRandomFieldNumber = 10; private uint gachaRandom_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint GachaRandom { get { return gachaRandom_; } set { gachaRandom_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as DoGachaCsReq); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(DoGachaCsReq other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (GachaNum != other.GachaNum) return false; if (SimulateMagic != other.SimulateMagic) return false; if (GachaId != other.GachaId) return false; if (GachaRandom != other.GachaRandom) 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 (GachaNum != 0) hash ^= GachaNum.GetHashCode(); if (SimulateMagic != 0) hash ^= SimulateMagic.GetHashCode(); if (GachaId != 0) hash ^= GachaId.GetHashCode(); if (GachaRandom != 0) hash ^= GachaRandom.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 (GachaNum != 0) { output.WriteRawTag(32); output.WriteUInt32(GachaNum); } if (GachaId != 0) { output.WriteRawTag(48); output.WriteUInt32(GachaId); } if (GachaRandom != 0) { output.WriteRawTag(80); output.WriteUInt32(GachaRandom); } if (SimulateMagic != 0) { output.WriteRawTag(120); output.WriteUInt32(SimulateMagic); } 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 (GachaNum != 0) { output.WriteRawTag(32); output.WriteUInt32(GachaNum); } if (GachaId != 0) { output.WriteRawTag(48); output.WriteUInt32(GachaId); } if (GachaRandom != 0) { output.WriteRawTag(80); output.WriteUInt32(GachaRandom); } if (SimulateMagic != 0) { output.WriteRawTag(120); output.WriteUInt32(SimulateMagic); } 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 (GachaNum != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(GachaNum); } if (SimulateMagic != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(SimulateMagic); } if (GachaId != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(GachaId); } if (GachaRandom != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(GachaRandom); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(DoGachaCsReq other) { if (other == null) { return; } if (other.GachaNum != 0) { GachaNum = other.GachaNum; } if (other.SimulateMagic != 0) { SimulateMagic = other.SimulateMagic; } if (other.GachaId != 0) { GachaId = other.GachaId; } if (other.GachaRandom != 0) { GachaRandom = other.GachaRandom; } _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) { switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 32: { GachaNum = input.ReadUInt32(); break; } case 48: { GachaId = input.ReadUInt32(); break; } case 80: { GachaRandom = input.ReadUInt32(); break; } case 120: { SimulateMagic = input.ReadUInt32(); 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) { switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 32: { GachaNum = input.ReadUInt32(); break; } case 48: { GachaId = input.ReadUInt32(); break; } case 80: { GachaRandom = input.ReadUInt32(); break; } case 120: { SimulateMagic = input.ReadUInt32(); break; } } } } #endif } #endregion } #endregion Designer generated code