mirror of
https://github.com/EggLinks/DanhengServer-OpenSource.git
synced 2026-01-03 04:36: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: SelectRogueBuffScRsp.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 SelectRogueBuffScRsp.proto</summary>
|
|
public static partial class SelectRogueBuffScRspReflection {
|
|
|
|
#region Descriptor
|
|
/// <summary>File descriptor for SelectRogueBuffScRsp.proto</summary>
|
|
public static pbr::FileDescriptor Descriptor {
|
|
get { return descriptor; }
|
|
}
|
|
private static pbr::FileDescriptor descriptor;
|
|
|
|
static SelectRogueBuffScRspReflection() {
|
|
byte[] descriptorData = global::System.Convert.FromBase64String(
|
|
string.Concat(
|
|
"ChpTZWxlY3RSb2d1ZUJ1ZmZTY1JzcC5wcm90bxoZUm9ndWVCdWZmU2VsZWN0",
|
|
"SW5mby5wcm90byKGAQoUU2VsZWN0Um9ndWVCdWZmU2NSc3ASFwoPbWF6ZV9i",
|
|
"dWZmX2xldmVsGA4gASgNEi4KEGJ1ZmZfc2VsZWN0X2luZm8YBiABKAsyFC5S",
|
|
"b2d1ZUJ1ZmZTZWxlY3RJbmZvEhQKDG1hemVfYnVmZl9pZBgEIAEoDRIPCgdy",
|
|
"ZXRjb2RlGAcgASgNQh6qAhtFZ2dMaW5rLkRhbmhlbmdTZXJ2ZXIuUHJvdG9i",
|
|
"BnByb3RvMw=="));
|
|
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
|
new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.RogueBuffSelectInfoReflection.Descriptor, },
|
|
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.SelectRogueBuffScRsp), global::EggLink.DanhengServer.Proto.SelectRogueBuffScRsp.Parser, new[]{ "MazeBuffLevel", "BuffSelectInfo", "MazeBuffId", "Retcode" }, null, null, null, null)
|
|
}));
|
|
}
|
|
#endregion
|
|
|
|
}
|
|
#region Messages
|
|
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
|
public sealed partial class SelectRogueBuffScRsp : pb::IMessage<SelectRogueBuffScRsp>
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
, pb::IBufferMessage
|
|
#endif
|
|
{
|
|
private static readonly pb::MessageParser<SelectRogueBuffScRsp> _parser = new pb::MessageParser<SelectRogueBuffScRsp>(() => new SelectRogueBuffScRsp());
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pb::MessageParser<SelectRogueBuffScRsp> 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.SelectRogueBuffScRspReflection.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 SelectRogueBuffScRsp() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public SelectRogueBuffScRsp(SelectRogueBuffScRsp other) : this() {
|
|
mazeBuffLevel_ = other.mazeBuffLevel_;
|
|
buffSelectInfo_ = other.buffSelectInfo_ != null ? other.buffSelectInfo_.Clone() : null;
|
|
mazeBuffId_ = other.mazeBuffId_;
|
|
retcode_ = other.retcode_;
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public SelectRogueBuffScRsp Clone() {
|
|
return new SelectRogueBuffScRsp(this);
|
|
}
|
|
|
|
/// <summary>Field number for the "maze_buff_level" field.</summary>
|
|
public const int MazeBuffLevelFieldNumber = 14;
|
|
private uint mazeBuffLevel_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint MazeBuffLevel {
|
|
get { return mazeBuffLevel_; }
|
|
set {
|
|
mazeBuffLevel_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "buff_select_info" field.</summary>
|
|
public const int BuffSelectInfoFieldNumber = 6;
|
|
private global::EggLink.DanhengServer.Proto.RogueBuffSelectInfo buffSelectInfo_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public global::EggLink.DanhengServer.Proto.RogueBuffSelectInfo BuffSelectInfo {
|
|
get { return buffSelectInfo_; }
|
|
set {
|
|
buffSelectInfo_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "maze_buff_id" field.</summary>
|
|
public const int MazeBuffIdFieldNumber = 4;
|
|
private uint mazeBuffId_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint MazeBuffId {
|
|
get { return mazeBuffId_; }
|
|
set {
|
|
mazeBuffId_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "retcode" field.</summary>
|
|
public const int RetcodeFieldNumber = 7;
|
|
private uint retcode_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint Retcode {
|
|
get { return retcode_; }
|
|
set {
|
|
retcode_ = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public override bool Equals(object other) {
|
|
return Equals(other as SelectRogueBuffScRsp);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool Equals(SelectRogueBuffScRsp other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
if (MazeBuffLevel != other.MazeBuffLevel) return false;
|
|
if (!object.Equals(BuffSelectInfo, other.BuffSelectInfo)) return false;
|
|
if (MazeBuffId != other.MazeBuffId) return false;
|
|
if (Retcode != other.Retcode) 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 (MazeBuffLevel != 0) hash ^= MazeBuffLevel.GetHashCode();
|
|
if (buffSelectInfo_ != null) hash ^= BuffSelectInfo.GetHashCode();
|
|
if (MazeBuffId != 0) hash ^= MazeBuffId.GetHashCode();
|
|
if (Retcode != 0) hash ^= Retcode.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 (MazeBuffId != 0) {
|
|
output.WriteRawTag(32);
|
|
output.WriteUInt32(MazeBuffId);
|
|
}
|
|
if (buffSelectInfo_ != null) {
|
|
output.WriteRawTag(50);
|
|
output.WriteMessage(BuffSelectInfo);
|
|
}
|
|
if (Retcode != 0) {
|
|
output.WriteRawTag(56);
|
|
output.WriteUInt32(Retcode);
|
|
}
|
|
if (MazeBuffLevel != 0) {
|
|
output.WriteRawTag(112);
|
|
output.WriteUInt32(MazeBuffLevel);
|
|
}
|
|
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 (MazeBuffId != 0) {
|
|
output.WriteRawTag(32);
|
|
output.WriteUInt32(MazeBuffId);
|
|
}
|
|
if (buffSelectInfo_ != null) {
|
|
output.WriteRawTag(50);
|
|
output.WriteMessage(BuffSelectInfo);
|
|
}
|
|
if (Retcode != 0) {
|
|
output.WriteRawTag(56);
|
|
output.WriteUInt32(Retcode);
|
|
}
|
|
if (MazeBuffLevel != 0) {
|
|
output.WriteRawTag(112);
|
|
output.WriteUInt32(MazeBuffLevel);
|
|
}
|
|
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 (MazeBuffLevel != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(MazeBuffLevel);
|
|
}
|
|
if (buffSelectInfo_ != null) {
|
|
size += 1 + pb::CodedOutputStream.ComputeMessageSize(BuffSelectInfo);
|
|
}
|
|
if (MazeBuffId != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(MazeBuffId);
|
|
}
|
|
if (Retcode != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Retcode);
|
|
}
|
|
if (_unknownFields != null) {
|
|
size += _unknownFields.CalculateSize();
|
|
}
|
|
return size;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public void MergeFrom(SelectRogueBuffScRsp other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
if (other.MazeBuffLevel != 0) {
|
|
MazeBuffLevel = other.MazeBuffLevel;
|
|
}
|
|
if (other.buffSelectInfo_ != null) {
|
|
if (buffSelectInfo_ == null) {
|
|
BuffSelectInfo = new global::EggLink.DanhengServer.Proto.RogueBuffSelectInfo();
|
|
}
|
|
BuffSelectInfo.MergeFrom(other.BuffSelectInfo);
|
|
}
|
|
if (other.MazeBuffId != 0) {
|
|
MazeBuffId = other.MazeBuffId;
|
|
}
|
|
if (other.Retcode != 0) {
|
|
Retcode = other.Retcode;
|
|
}
|
|
_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: {
|
|
MazeBuffId = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 50: {
|
|
if (buffSelectInfo_ == null) {
|
|
BuffSelectInfo = new global::EggLink.DanhengServer.Proto.RogueBuffSelectInfo();
|
|
}
|
|
input.ReadMessage(BuffSelectInfo);
|
|
break;
|
|
}
|
|
case 56: {
|
|
Retcode = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 112: {
|
|
MazeBuffLevel = 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: {
|
|
MazeBuffId = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 50: {
|
|
if (buffSelectInfo_ == null) {
|
|
BuffSelectInfo = new global::EggLink.DanhengServer.Proto.RogueBuffSelectInfo();
|
|
}
|
|
input.ReadMessage(BuffSelectInfo);
|
|
break;
|
|
}
|
|
case 56: {
|
|
Retcode = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 112: {
|
|
MazeBuffLevel = input.ReadUInt32();
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
}
|
|
|
|
#endregion Designer generated code
|