mirror of
https://github.com/EggLinks/DanhengServer-OpenSource.git
synced 2026-01-02 20:26:03 +08:00
330 lines
12 KiB
C#
330 lines
12 KiB
C#
// <auto-generated>
|
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
// source: GridFightLevelUpdateInfo.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 GridFightLevelUpdateInfo.proto</summary>
|
|
public static partial class GridFightLevelUpdateInfoReflection {
|
|
|
|
#region Descriptor
|
|
/// <summary>File descriptor for GridFightLevelUpdateInfo.proto</summary>
|
|
public static pbr::FileDescriptor Descriptor {
|
|
get { return descriptor; }
|
|
}
|
|
private static pbr::FileDescriptor descriptor;
|
|
|
|
static GridFightLevelUpdateInfoReflection() {
|
|
byte[] descriptorData = global::System.Convert.FromBase64String(
|
|
string.Concat(
|
|
"Ch5HcmlkRmlnaHRMZXZlbFVwZGF0ZUluZm8ucHJvdG8aH0dyaWRGaWdodExl",
|
|
"dmVsRGlzcGxheUluZm8ucHJvdG8imAEKGEdyaWRGaWdodExldmVsVXBkYXRl",
|
|
"SW5mbxIzCg9wcmV2X2xldmVsX2luZm8YDSABKAsyGi5HcmlkRmlnaHRMZXZl",
|
|
"bERpc3BsYXlJbmZvEhMKC2FkZF9leHBfbnVtGAkgASgNEjIKDmN1cl9sZXZl",
|
|
"bF9pbmZvGAQgASgLMhouR3JpZEZpZ2h0TGV2ZWxEaXNwbGF5SW5mb0IeqgIb",
|
|
"RWdnTGluay5EYW5oZW5nU2VydmVyLlByb3RvYgZwcm90bzM="));
|
|
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
|
new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.GridFightLevelDisplayInfoReflection.Descriptor, },
|
|
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.GridFightLevelUpdateInfo), global::EggLink.DanhengServer.Proto.GridFightLevelUpdateInfo.Parser, new[]{ "PrevLevelInfo", "AddExpNum", "CurLevelInfo" }, null, null, null, null)
|
|
}));
|
|
}
|
|
#endregion
|
|
|
|
}
|
|
#region Messages
|
|
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
|
public sealed partial class GridFightLevelUpdateInfo : pb::IMessage<GridFightLevelUpdateInfo>
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
, pb::IBufferMessage
|
|
#endif
|
|
{
|
|
private static readonly pb::MessageParser<GridFightLevelUpdateInfo> _parser = new pb::MessageParser<GridFightLevelUpdateInfo>(() => new GridFightLevelUpdateInfo());
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pb::MessageParser<GridFightLevelUpdateInfo> 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.GridFightLevelUpdateInfoReflection.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 GridFightLevelUpdateInfo() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public GridFightLevelUpdateInfo(GridFightLevelUpdateInfo other) : this() {
|
|
prevLevelInfo_ = other.prevLevelInfo_ != null ? other.prevLevelInfo_.Clone() : null;
|
|
addExpNum_ = other.addExpNum_;
|
|
curLevelInfo_ = other.curLevelInfo_ != null ? other.curLevelInfo_.Clone() : null;
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public GridFightLevelUpdateInfo Clone() {
|
|
return new GridFightLevelUpdateInfo(this);
|
|
}
|
|
|
|
/// <summary>Field number for the "prev_level_info" field.</summary>
|
|
public const int PrevLevelInfoFieldNumber = 13;
|
|
private global::EggLink.DanhengServer.Proto.GridFightLevelDisplayInfo prevLevelInfo_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public global::EggLink.DanhengServer.Proto.GridFightLevelDisplayInfo PrevLevelInfo {
|
|
get { return prevLevelInfo_; }
|
|
set {
|
|
prevLevelInfo_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "add_exp_num" field.</summary>
|
|
public const int AddExpNumFieldNumber = 9;
|
|
private uint addExpNum_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint AddExpNum {
|
|
get { return addExpNum_; }
|
|
set {
|
|
addExpNum_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "cur_level_info" field.</summary>
|
|
public const int CurLevelInfoFieldNumber = 4;
|
|
private global::EggLink.DanhengServer.Proto.GridFightLevelDisplayInfo curLevelInfo_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public global::EggLink.DanhengServer.Proto.GridFightLevelDisplayInfo CurLevelInfo {
|
|
get { return curLevelInfo_; }
|
|
set {
|
|
curLevelInfo_ = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public override bool Equals(object other) {
|
|
return Equals(other as GridFightLevelUpdateInfo);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool Equals(GridFightLevelUpdateInfo other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
if (!object.Equals(PrevLevelInfo, other.PrevLevelInfo)) return false;
|
|
if (AddExpNum != other.AddExpNum) return false;
|
|
if (!object.Equals(CurLevelInfo, other.CurLevelInfo)) 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 (prevLevelInfo_ != null) hash ^= PrevLevelInfo.GetHashCode();
|
|
if (AddExpNum != 0) hash ^= AddExpNum.GetHashCode();
|
|
if (curLevelInfo_ != null) hash ^= CurLevelInfo.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 (curLevelInfo_ != null) {
|
|
output.WriteRawTag(34);
|
|
output.WriteMessage(CurLevelInfo);
|
|
}
|
|
if (AddExpNum != 0) {
|
|
output.WriteRawTag(72);
|
|
output.WriteUInt32(AddExpNum);
|
|
}
|
|
if (prevLevelInfo_ != null) {
|
|
output.WriteRawTag(106);
|
|
output.WriteMessage(PrevLevelInfo);
|
|
}
|
|
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 (curLevelInfo_ != null) {
|
|
output.WriteRawTag(34);
|
|
output.WriteMessage(CurLevelInfo);
|
|
}
|
|
if (AddExpNum != 0) {
|
|
output.WriteRawTag(72);
|
|
output.WriteUInt32(AddExpNum);
|
|
}
|
|
if (prevLevelInfo_ != null) {
|
|
output.WriteRawTag(106);
|
|
output.WriteMessage(PrevLevelInfo);
|
|
}
|
|
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 (prevLevelInfo_ != null) {
|
|
size += 1 + pb::CodedOutputStream.ComputeMessageSize(PrevLevelInfo);
|
|
}
|
|
if (AddExpNum != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(AddExpNum);
|
|
}
|
|
if (curLevelInfo_ != null) {
|
|
size += 1 + pb::CodedOutputStream.ComputeMessageSize(CurLevelInfo);
|
|
}
|
|
if (_unknownFields != null) {
|
|
size += _unknownFields.CalculateSize();
|
|
}
|
|
return size;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public void MergeFrom(GridFightLevelUpdateInfo other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
if (other.prevLevelInfo_ != null) {
|
|
if (prevLevelInfo_ == null) {
|
|
PrevLevelInfo = new global::EggLink.DanhengServer.Proto.GridFightLevelDisplayInfo();
|
|
}
|
|
PrevLevelInfo.MergeFrom(other.PrevLevelInfo);
|
|
}
|
|
if (other.AddExpNum != 0) {
|
|
AddExpNum = other.AddExpNum;
|
|
}
|
|
if (other.curLevelInfo_ != null) {
|
|
if (curLevelInfo_ == null) {
|
|
CurLevelInfo = new global::EggLink.DanhengServer.Proto.GridFightLevelDisplayInfo();
|
|
}
|
|
CurLevelInfo.MergeFrom(other.CurLevelInfo);
|
|
}
|
|
_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 34: {
|
|
if (curLevelInfo_ == null) {
|
|
CurLevelInfo = new global::EggLink.DanhengServer.Proto.GridFightLevelDisplayInfo();
|
|
}
|
|
input.ReadMessage(CurLevelInfo);
|
|
break;
|
|
}
|
|
case 72: {
|
|
AddExpNum = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 106: {
|
|
if (prevLevelInfo_ == null) {
|
|
PrevLevelInfo = new global::EggLink.DanhengServer.Proto.GridFightLevelDisplayInfo();
|
|
}
|
|
input.ReadMessage(PrevLevelInfo);
|
|
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 34: {
|
|
if (curLevelInfo_ == null) {
|
|
CurLevelInfo = new global::EggLink.DanhengServer.Proto.GridFightLevelDisplayInfo();
|
|
}
|
|
input.ReadMessage(CurLevelInfo);
|
|
break;
|
|
}
|
|
case 72: {
|
|
AddExpNum = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 106: {
|
|
if (prevLevelInfo_ == null) {
|
|
PrevLevelInfo = new global::EggLink.DanhengServer.Proto.GridFightLevelDisplayInfo();
|
|
}
|
|
input.ReadMessage(PrevLevelInfo);
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
}
|
|
|
|
#endregion Designer generated code
|