mirror of
https://github.com/EggLinks/DanhengServer-OpenSource.git
synced 2026-01-03 04:36:03 +08:00
347 lines
12 KiB
C#
347 lines
12 KiB
C#
// <auto-generated>
|
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
// source: DoGachaCsReq.proto
|
|
// </auto-generated>
|
|
#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 {
|
|
|
|
/// <summary>Holder for reflection information generated from DoGachaCsReq.proto</summary>
|
|
public static partial class DoGachaCsReqReflection {
|
|
|
|
#region Descriptor
|
|
/// <summary>File descriptor for DoGachaCsReq.proto</summary>
|
|
public static pbr::FileDescriptor Descriptor {
|
|
get { return descriptor; }
|
|
}
|
|
private static pbr::FileDescriptor descriptor;
|
|
|
|
static DoGachaCsReqReflection() {
|
|
byte[] descriptorData = global::System.Convert.FromBase64String(
|
|
string.Concat(
|
|
"ChJEb0dhY2hhQ3NSZXEucHJvdG8iYQoMRG9HYWNoYUNzUmVxEhEKCWdhY2hh",
|
|
"X251bRgPIAEoDRIWCg5zaW11bGF0ZV9tYWdpYxgGIAEoDRIQCghnYWNoYV9p",
|
|
"ZBgKIAEoDRIUCgxnYWNoYV9yYW5kb20YByABKA1CHqoCG0VnZ0xpbmsuRGFu",
|
|
"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<DoGachaCsReq>
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
, pb::IBufferMessage
|
|
#endif
|
|
{
|
|
private static readonly pb::MessageParser<DoGachaCsReq> _parser = new pb::MessageParser<DoGachaCsReq>(() => new DoGachaCsReq());
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pb::MessageParser<DoGachaCsReq> 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);
|
|
}
|
|
|
|
/// <summary>Field number for the "gacha_num" field.</summary>
|
|
public const int GachaNumFieldNumber = 15;
|
|
private uint gachaNum_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint GachaNum {
|
|
get { return gachaNum_; }
|
|
set {
|
|
gachaNum_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "simulate_magic" field.</summary>
|
|
public const int SimulateMagicFieldNumber = 6;
|
|
private uint simulateMagic_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint SimulateMagic {
|
|
get { return simulateMagic_; }
|
|
set {
|
|
simulateMagic_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "gacha_id" field.</summary>
|
|
public const int GachaIdFieldNumber = 10;
|
|
private uint gachaId_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint GachaId {
|
|
get { return gachaId_; }
|
|
set {
|
|
gachaId_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "gacha_random" field.</summary>
|
|
public const int GachaRandomFieldNumber = 7;
|
|
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 (SimulateMagic != 0) {
|
|
output.WriteRawTag(48);
|
|
output.WriteUInt32(SimulateMagic);
|
|
}
|
|
if (GachaRandom != 0) {
|
|
output.WriteRawTag(56);
|
|
output.WriteUInt32(GachaRandom);
|
|
}
|
|
if (GachaId != 0) {
|
|
output.WriteRawTag(80);
|
|
output.WriteUInt32(GachaId);
|
|
}
|
|
if (GachaNum != 0) {
|
|
output.WriteRawTag(120);
|
|
output.WriteUInt32(GachaNum);
|
|
}
|
|
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 (SimulateMagic != 0) {
|
|
output.WriteRawTag(48);
|
|
output.WriteUInt32(SimulateMagic);
|
|
}
|
|
if (GachaRandom != 0) {
|
|
output.WriteRawTag(56);
|
|
output.WriteUInt32(GachaRandom);
|
|
}
|
|
if (GachaId != 0) {
|
|
output.WriteRawTag(80);
|
|
output.WriteUInt32(GachaId);
|
|
}
|
|
if (GachaNum != 0) {
|
|
output.WriteRawTag(120);
|
|
output.WriteUInt32(GachaNum);
|
|
}
|
|
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 48: {
|
|
SimulateMagic = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 56: {
|
|
GachaRandom = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 80: {
|
|
GachaId = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 120: {
|
|
GachaNum = 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 48: {
|
|
SimulateMagic = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 56: {
|
|
GachaRandom = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 80: {
|
|
GachaId = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 120: {
|
|
GachaNum = input.ReadUInt32();
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
}
|
|
|
|
#endregion Designer generated code
|