Files
DanhengServer-OpenSource/Proto/SetGachaDecideItemCsReq.cs
2025-08-15 12:52:47 +08:00

301 lines
11 KiB
C#

// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: SetGachaDecideItemCsReq.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 SetGachaDecideItemCsReq.proto</summary>
public static partial class SetGachaDecideItemCsReqReflection {
#region Descriptor
/// <summary>File descriptor for SetGachaDecideItemCsReq.proto</summary>
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static SetGachaDecideItemCsReqReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"Ch1TZXRHYWNoYURlY2lkZUl0ZW1Dc1JlcS5wcm90byJbChdTZXRHYWNoYURl",
"Y2lkZUl0ZW1Dc1JlcRIQCghnYWNoYV9pZBgPIAEoDRITCgtDSERPSUJGRUhM",
"UBgCIAEoDRIZChFkZWNpZGVfaXRlbV9vcmRlchgNIAMoDUIeqgIbRWdnTGlu",
"ay5EYW5oZW5nU2VydmVyLlByb3RvYgZwcm90bzM="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { },
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.SetGachaDecideItemCsReq), global::EggLink.DanhengServer.Proto.SetGachaDecideItemCsReq.Parser, new[]{ "GachaId", "CHDOIBFEHLP", "DecideItemOrder" }, null, null, null, null)
}));
}
#endregion
}
#region Messages
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class SetGachaDecideItemCsReq : pb::IMessage<SetGachaDecideItemCsReq>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<SetGachaDecideItemCsReq> _parser = new pb::MessageParser<SetGachaDecideItemCsReq>(() => new SetGachaDecideItemCsReq());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<SetGachaDecideItemCsReq> 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.SetGachaDecideItemCsReqReflection.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 SetGachaDecideItemCsReq() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public SetGachaDecideItemCsReq(SetGachaDecideItemCsReq other) : this() {
gachaId_ = other.gachaId_;
cHDOIBFEHLP_ = other.cHDOIBFEHLP_;
decideItemOrder_ = other.decideItemOrder_.Clone();
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public SetGachaDecideItemCsReq Clone() {
return new SetGachaDecideItemCsReq(this);
}
/// <summary>Field number for the "gacha_id" field.</summary>
public const int GachaIdFieldNumber = 15;
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 "CHDOIBFEHLP" field.</summary>
public const int CHDOIBFEHLPFieldNumber = 2;
private uint cHDOIBFEHLP_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint CHDOIBFEHLP {
get { return cHDOIBFEHLP_; }
set {
cHDOIBFEHLP_ = value;
}
}
/// <summary>Field number for the "decide_item_order" field.</summary>
public const int DecideItemOrderFieldNumber = 13;
private static readonly pb::FieldCodec<uint> _repeated_decideItemOrder_codec
= pb::FieldCodec.ForUInt32(106);
private readonly pbc::RepeatedField<uint> decideItemOrder_ = new pbc::RepeatedField<uint>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<uint> DecideItemOrder {
get { return decideItemOrder_; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as SetGachaDecideItemCsReq);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(SetGachaDecideItemCsReq other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (GachaId != other.GachaId) return false;
if (CHDOIBFEHLP != other.CHDOIBFEHLP) return false;
if(!decideItemOrder_.Equals(other.decideItemOrder_)) 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 (GachaId != 0) hash ^= GachaId.GetHashCode();
if (CHDOIBFEHLP != 0) hash ^= CHDOIBFEHLP.GetHashCode();
hash ^= decideItemOrder_.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 (CHDOIBFEHLP != 0) {
output.WriteRawTag(16);
output.WriteUInt32(CHDOIBFEHLP);
}
decideItemOrder_.WriteTo(output, _repeated_decideItemOrder_codec);
if (GachaId != 0) {
output.WriteRawTag(120);
output.WriteUInt32(GachaId);
}
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 (CHDOIBFEHLP != 0) {
output.WriteRawTag(16);
output.WriteUInt32(CHDOIBFEHLP);
}
decideItemOrder_.WriteTo(ref output, _repeated_decideItemOrder_codec);
if (GachaId != 0) {
output.WriteRawTag(120);
output.WriteUInt32(GachaId);
}
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 (GachaId != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(GachaId);
}
if (CHDOIBFEHLP != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(CHDOIBFEHLP);
}
size += decideItemOrder_.CalculateSize(_repeated_decideItemOrder_codec);
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(SetGachaDecideItemCsReq other) {
if (other == null) {
return;
}
if (other.GachaId != 0) {
GachaId = other.GachaId;
}
if (other.CHDOIBFEHLP != 0) {
CHDOIBFEHLP = other.CHDOIBFEHLP;
}
decideItemOrder_.Add(other.decideItemOrder_);
_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 16: {
CHDOIBFEHLP = input.ReadUInt32();
break;
}
case 106:
case 104: {
decideItemOrder_.AddEntriesFrom(input, _repeated_decideItemOrder_codec);
break;
}
case 120: {
GachaId = 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 16: {
CHDOIBFEHLP = input.ReadUInt32();
break;
}
case 106:
case 104: {
decideItemOrder_.AddEntriesFrom(ref input, _repeated_decideItemOrder_codec);
break;
}
case 120: {
GachaId = input.ReadUInt32();
break;
}
}
}
}
#endif
}
#endregion
}
#endregion Designer generated code