Files
DanhengServer-OpenSource/Proto/MarbleGetDataScRsp.cs
2025-05-03 15:43:59 +08:00

358 lines
13 KiB
C#

// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: MarbleGetDataScRsp.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 MarbleGetDataScRsp.proto</summary>
public static partial class MarbleGetDataScRspReflection {
#region Descriptor
/// <summary>File descriptor for MarbleGetDataScRsp.proto</summary>
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static MarbleGetDataScRspReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"ChhNYXJibGVHZXREYXRhU2NSc3AucHJvdG8iigEKEk1hcmJsZUdldERhdGFT",
"Y1JzcBITCgtJT0dES0dGREZQQxgBIAMoDRIjChttYXJibGVfZmluaXNoX2xl",
"dmVsX2lkX2xpc3QYBCADKA0SDwoHcmV0Y29kZRgIIAEoDRIQCghzY29yZV9p",
"ZBgKIAEoBRIXCg9vd25lZF9zZWFsX2xpc3QYDyADKA1CHqoCG0VnZ0xpbmsu",
"RGFuaGVuZ1NlcnZlci5Qcm90b2IGcHJvdG8z"));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { },
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.MarbleGetDataScRsp), global::EggLink.DanhengServer.Proto.MarbleGetDataScRsp.Parser, new[]{ "IOGDKGFDFPC", "MarbleFinishLevelIdList", "Retcode", "ScoreId", "OwnedSealList" }, null, null, null, null)
}));
}
#endregion
}
#region Messages
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class MarbleGetDataScRsp : pb::IMessage<MarbleGetDataScRsp>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<MarbleGetDataScRsp> _parser = new pb::MessageParser<MarbleGetDataScRsp>(() => new MarbleGetDataScRsp());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<MarbleGetDataScRsp> 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.MarbleGetDataScRspReflection.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 MarbleGetDataScRsp() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public MarbleGetDataScRsp(MarbleGetDataScRsp other) : this() {
iOGDKGFDFPC_ = other.iOGDKGFDFPC_.Clone();
marbleFinishLevelIdList_ = other.marbleFinishLevelIdList_.Clone();
retcode_ = other.retcode_;
scoreId_ = other.scoreId_;
ownedSealList_ = other.ownedSealList_.Clone();
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public MarbleGetDataScRsp Clone() {
return new MarbleGetDataScRsp(this);
}
/// <summary>Field number for the "IOGDKGFDFPC" field.</summary>
public const int IOGDKGFDFPCFieldNumber = 1;
private static readonly pb::FieldCodec<uint> _repeated_iOGDKGFDFPC_codec
= pb::FieldCodec.ForUInt32(10);
private readonly pbc::RepeatedField<uint> iOGDKGFDFPC_ = new pbc::RepeatedField<uint>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<uint> IOGDKGFDFPC {
get { return iOGDKGFDFPC_; }
}
/// <summary>Field number for the "marble_finish_level_id_list" field.</summary>
public const int MarbleFinishLevelIdListFieldNumber = 4;
private static readonly pb::FieldCodec<uint> _repeated_marbleFinishLevelIdList_codec
= pb::FieldCodec.ForUInt32(34);
private readonly pbc::RepeatedField<uint> marbleFinishLevelIdList_ = new pbc::RepeatedField<uint>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<uint> MarbleFinishLevelIdList {
get { return marbleFinishLevelIdList_; }
}
/// <summary>Field number for the "retcode" field.</summary>
public const int RetcodeFieldNumber = 8;
private uint retcode_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint Retcode {
get { return retcode_; }
set {
retcode_ = value;
}
}
/// <summary>Field number for the "score_id" field.</summary>
public const int ScoreIdFieldNumber = 10;
private int scoreId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int ScoreId {
get { return scoreId_; }
set {
scoreId_ = value;
}
}
/// <summary>Field number for the "owned_seal_list" field.</summary>
public const int OwnedSealListFieldNumber = 15;
private static readonly pb::FieldCodec<uint> _repeated_ownedSealList_codec
= pb::FieldCodec.ForUInt32(122);
private readonly pbc::RepeatedField<uint> ownedSealList_ = new pbc::RepeatedField<uint>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<uint> OwnedSealList {
get { return ownedSealList_; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as MarbleGetDataScRsp);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(MarbleGetDataScRsp other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if(!iOGDKGFDFPC_.Equals(other.iOGDKGFDFPC_)) return false;
if(!marbleFinishLevelIdList_.Equals(other.marbleFinishLevelIdList_)) return false;
if (Retcode != other.Retcode) return false;
if (ScoreId != other.ScoreId) return false;
if(!ownedSealList_.Equals(other.ownedSealList_)) 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;
hash ^= iOGDKGFDFPC_.GetHashCode();
hash ^= marbleFinishLevelIdList_.GetHashCode();
if (Retcode != 0) hash ^= Retcode.GetHashCode();
if (ScoreId != 0) hash ^= ScoreId.GetHashCode();
hash ^= ownedSealList_.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
iOGDKGFDFPC_.WriteTo(output, _repeated_iOGDKGFDFPC_codec);
marbleFinishLevelIdList_.WriteTo(output, _repeated_marbleFinishLevelIdList_codec);
if (Retcode != 0) {
output.WriteRawTag(64);
output.WriteUInt32(Retcode);
}
if (ScoreId != 0) {
output.WriteRawTag(80);
output.WriteInt32(ScoreId);
}
ownedSealList_.WriteTo(output, _repeated_ownedSealList_codec);
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) {
iOGDKGFDFPC_.WriteTo(ref output, _repeated_iOGDKGFDFPC_codec);
marbleFinishLevelIdList_.WriteTo(ref output, _repeated_marbleFinishLevelIdList_codec);
if (Retcode != 0) {
output.WriteRawTag(64);
output.WriteUInt32(Retcode);
}
if (ScoreId != 0) {
output.WriteRawTag(80);
output.WriteInt32(ScoreId);
}
ownedSealList_.WriteTo(ref output, _repeated_ownedSealList_codec);
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;
size += iOGDKGFDFPC_.CalculateSize(_repeated_iOGDKGFDFPC_codec);
size += marbleFinishLevelIdList_.CalculateSize(_repeated_marbleFinishLevelIdList_codec);
if (Retcode != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Retcode);
}
if (ScoreId != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(ScoreId);
}
size += ownedSealList_.CalculateSize(_repeated_ownedSealList_codec);
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(MarbleGetDataScRsp other) {
if (other == null) {
return;
}
iOGDKGFDFPC_.Add(other.iOGDKGFDFPC_);
marbleFinishLevelIdList_.Add(other.marbleFinishLevelIdList_);
if (other.Retcode != 0) {
Retcode = other.Retcode;
}
if (other.ScoreId != 0) {
ScoreId = other.ScoreId;
}
ownedSealList_.Add(other.ownedSealList_);
_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 10:
case 8: {
iOGDKGFDFPC_.AddEntriesFrom(input, _repeated_iOGDKGFDFPC_codec);
break;
}
case 34:
case 32: {
marbleFinishLevelIdList_.AddEntriesFrom(input, _repeated_marbleFinishLevelIdList_codec);
break;
}
case 64: {
Retcode = input.ReadUInt32();
break;
}
case 80: {
ScoreId = input.ReadInt32();
break;
}
case 122:
case 120: {
ownedSealList_.AddEntriesFrom(input, _repeated_ownedSealList_codec);
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 10:
case 8: {
iOGDKGFDFPC_.AddEntriesFrom(ref input, _repeated_iOGDKGFDFPC_codec);
break;
}
case 34:
case 32: {
marbleFinishLevelIdList_.AddEntriesFrom(ref input, _repeated_marbleFinishLevelIdList_codec);
break;
}
case 64: {
Retcode = input.ReadUInt32();
break;
}
case 80: {
ScoreId = input.ReadInt32();
break;
}
case 122:
case 120: {
ownedSealList_.AddEntriesFrom(ref input, _repeated_ownedSealList_codec);
break;
}
}
}
}
#endif
}
#endregion
}
#endregion Designer generated code