mirror of
https://github.com/EggLinks/DanhengServer-OpenSource.git
synced 2026-01-02 20:26:03 +08:00
358 lines
13 KiB
C#
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",
|
|
"Y1JzcBIQCghzY29yZV9pZBgKIAEoBRIXCg9vd25lZF9zZWFsX2xpc3QYASAD",
|
|
"KA0SDwoHcmV0Y29kZRgNIAEoDRIjChttYXJibGVfZmluaXNoX2xldmVsX2lk",
|
|
"X2xpc3QYAyADKA0SEwoLSU9HREtHRkRGUEMYDiADKA1CHqoCG0VnZ0xpbmsu",
|
|
"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[]{ "ScoreId", "OwnedSealList", "Retcode", "MarbleFinishLevelIdList", "IOGDKGFDFPC" }, 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() {
|
|
scoreId_ = other.scoreId_;
|
|
ownedSealList_ = other.ownedSealList_.Clone();
|
|
retcode_ = other.retcode_;
|
|
marbleFinishLevelIdList_ = other.marbleFinishLevelIdList_.Clone();
|
|
iOGDKGFDFPC_ = other.iOGDKGFDFPC_.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 "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 = 1;
|
|
private static readonly pb::FieldCodec<uint> _repeated_ownedSealList_codec
|
|
= pb::FieldCodec.ForUInt32(10);
|
|
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_; }
|
|
}
|
|
|
|
/// <summary>Field number for the "retcode" field.</summary>
|
|
public const int RetcodeFieldNumber = 13;
|
|
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 "marble_finish_level_id_list" field.</summary>
|
|
public const int MarbleFinishLevelIdListFieldNumber = 3;
|
|
private static readonly pb::FieldCodec<uint> _repeated_marbleFinishLevelIdList_codec
|
|
= pb::FieldCodec.ForUInt32(26);
|
|
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 "IOGDKGFDFPC" field.</summary>
|
|
public const int IOGDKGFDFPCFieldNumber = 14;
|
|
private static readonly pb::FieldCodec<uint> _repeated_iOGDKGFDFPC_codec
|
|
= pb::FieldCodec.ForUInt32(114);
|
|
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_; }
|
|
}
|
|
|
|
[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 (ScoreId != other.ScoreId) return false;
|
|
if(!ownedSealList_.Equals(other.ownedSealList_)) return false;
|
|
if (Retcode != other.Retcode) return false;
|
|
if(!marbleFinishLevelIdList_.Equals(other.marbleFinishLevelIdList_)) return false;
|
|
if(!iOGDKGFDFPC_.Equals(other.iOGDKGFDFPC_)) 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 (ScoreId != 0) hash ^= ScoreId.GetHashCode();
|
|
hash ^= ownedSealList_.GetHashCode();
|
|
if (Retcode != 0) hash ^= Retcode.GetHashCode();
|
|
hash ^= marbleFinishLevelIdList_.GetHashCode();
|
|
hash ^= iOGDKGFDFPC_.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
|
|
ownedSealList_.WriteTo(output, _repeated_ownedSealList_codec);
|
|
marbleFinishLevelIdList_.WriteTo(output, _repeated_marbleFinishLevelIdList_codec);
|
|
if (ScoreId != 0) {
|
|
output.WriteRawTag(80);
|
|
output.WriteInt32(ScoreId);
|
|
}
|
|
if (Retcode != 0) {
|
|
output.WriteRawTag(104);
|
|
output.WriteUInt32(Retcode);
|
|
}
|
|
iOGDKGFDFPC_.WriteTo(output, _repeated_iOGDKGFDFPC_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) {
|
|
ownedSealList_.WriteTo(ref output, _repeated_ownedSealList_codec);
|
|
marbleFinishLevelIdList_.WriteTo(ref output, _repeated_marbleFinishLevelIdList_codec);
|
|
if (ScoreId != 0) {
|
|
output.WriteRawTag(80);
|
|
output.WriteInt32(ScoreId);
|
|
}
|
|
if (Retcode != 0) {
|
|
output.WriteRawTag(104);
|
|
output.WriteUInt32(Retcode);
|
|
}
|
|
iOGDKGFDFPC_.WriteTo(ref output, _repeated_iOGDKGFDFPC_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;
|
|
if (ScoreId != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeInt32Size(ScoreId);
|
|
}
|
|
size += ownedSealList_.CalculateSize(_repeated_ownedSealList_codec);
|
|
if (Retcode != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Retcode);
|
|
}
|
|
size += marbleFinishLevelIdList_.CalculateSize(_repeated_marbleFinishLevelIdList_codec);
|
|
size += iOGDKGFDFPC_.CalculateSize(_repeated_iOGDKGFDFPC_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;
|
|
}
|
|
if (other.ScoreId != 0) {
|
|
ScoreId = other.ScoreId;
|
|
}
|
|
ownedSealList_.Add(other.ownedSealList_);
|
|
if (other.Retcode != 0) {
|
|
Retcode = other.Retcode;
|
|
}
|
|
marbleFinishLevelIdList_.Add(other.marbleFinishLevelIdList_);
|
|
iOGDKGFDFPC_.Add(other.iOGDKGFDFPC_);
|
|
_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: {
|
|
ownedSealList_.AddEntriesFrom(input, _repeated_ownedSealList_codec);
|
|
break;
|
|
}
|
|
case 26:
|
|
case 24: {
|
|
marbleFinishLevelIdList_.AddEntriesFrom(input, _repeated_marbleFinishLevelIdList_codec);
|
|
break;
|
|
}
|
|
case 80: {
|
|
ScoreId = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 104: {
|
|
Retcode = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 114:
|
|
case 112: {
|
|
iOGDKGFDFPC_.AddEntriesFrom(input, _repeated_iOGDKGFDFPC_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: {
|
|
ownedSealList_.AddEntriesFrom(ref input, _repeated_ownedSealList_codec);
|
|
break;
|
|
}
|
|
case 26:
|
|
case 24: {
|
|
marbleFinishLevelIdList_.AddEntriesFrom(ref input, _repeated_marbleFinishLevelIdList_codec);
|
|
break;
|
|
}
|
|
case 80: {
|
|
ScoreId = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 104: {
|
|
Retcode = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 114:
|
|
case 112: {
|
|
iOGDKGFDFPC_.AddEntriesFrom(ref input, _repeated_iOGDKGFDFPC_codec);
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
}
|
|
|
|
#endregion Designer generated code
|