mirror of
https://github.com/EggLinks/DanhengServer-OpenSource.git
synced 2026-01-03 04:36:03 +08:00
422 lines
15 KiB
C#
422 lines
15 KiB
C#
// <auto-generated>
|
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
// source: RaidInfoNotify.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 RaidInfoNotify.proto</summary>
|
|
public static partial class RaidInfoNotifyReflection {
|
|
|
|
#region Descriptor
|
|
/// <summary>File descriptor for RaidInfoNotify.proto</summary>
|
|
public static pbr::FileDescriptor Descriptor {
|
|
get { return descriptor; }
|
|
}
|
|
private static pbr::FileDescriptor descriptor;
|
|
|
|
static RaidInfoNotifyReflection() {
|
|
byte[] descriptorData = global::System.Convert.FromBase64String(
|
|
string.Concat(
|
|
"ChRSYWlkSW5mb05vdGlmeS5wcm90bxoOSXRlbUxpc3QucHJvdG8aEFJhaWRT",
|
|
"dGF0dXMucHJvdG8aEUFPRktKSUREQUZMLnByb3RvIqkBCg5SYWlkSW5mb05v",
|
|
"dGlmeRIPCgdyYWlkX2lkGAogASgNEhsKBnN0YXR1cxgEIAEoDjILLlJhaWRT",
|
|
"dGF0dXMSIQoLTkpBSEpLRkNDQk0YByADKAsyDC5BT0ZLSklEREFGTBIcCglp",
|
|
"dGVtX2xpc3QYAiABKAsyCS5JdGVtTGlzdBITCgtLQk9DQ0NQTkdOThgBIAEo",
|
|
"BBITCgt3b3JsZF9sZXZlbBgGIAEoDUIeqgIbRWdnTGluay5EYW5oZW5nU2Vy",
|
|
"dmVyLlByb3RvYgZwcm90bzM="));
|
|
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
|
new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.ItemListReflection.Descriptor, global::EggLink.DanhengServer.Proto.RaidStatusReflection.Descriptor, global::EggLink.DanhengServer.Proto.AOFKJIDDAFLReflection.Descriptor, },
|
|
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.RaidInfoNotify), global::EggLink.DanhengServer.Proto.RaidInfoNotify.Parser, new[]{ "RaidId", "Status", "NJAHJKFCCBM", "ItemList", "KBOCCCPNGNN", "WorldLevel" }, null, null, null, null)
|
|
}));
|
|
}
|
|
#endregion
|
|
|
|
}
|
|
#region Messages
|
|
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
|
public sealed partial class RaidInfoNotify : pb::IMessage<RaidInfoNotify>
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
, pb::IBufferMessage
|
|
#endif
|
|
{
|
|
private static readonly pb::MessageParser<RaidInfoNotify> _parser = new pb::MessageParser<RaidInfoNotify>(() => new RaidInfoNotify());
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pb::MessageParser<RaidInfoNotify> 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.RaidInfoNotifyReflection.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 RaidInfoNotify() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public RaidInfoNotify(RaidInfoNotify other) : this() {
|
|
raidId_ = other.raidId_;
|
|
status_ = other.status_;
|
|
nJAHJKFCCBM_ = other.nJAHJKFCCBM_.Clone();
|
|
itemList_ = other.itemList_ != null ? other.itemList_.Clone() : null;
|
|
kBOCCCPNGNN_ = other.kBOCCCPNGNN_;
|
|
worldLevel_ = other.worldLevel_;
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public RaidInfoNotify Clone() {
|
|
return new RaidInfoNotify(this);
|
|
}
|
|
|
|
/// <summary>Field number for the "raid_id" field.</summary>
|
|
public const int RaidIdFieldNumber = 10;
|
|
private uint raidId_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint RaidId {
|
|
get { return raidId_; }
|
|
set {
|
|
raidId_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "status" field.</summary>
|
|
public const int StatusFieldNumber = 4;
|
|
private global::EggLink.DanhengServer.Proto.RaidStatus status_ = global::EggLink.DanhengServer.Proto.RaidStatus.None;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public global::EggLink.DanhengServer.Proto.RaidStatus Status {
|
|
get { return status_; }
|
|
set {
|
|
status_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "NJAHJKFCCBM" field.</summary>
|
|
public const int NJAHJKFCCBMFieldNumber = 7;
|
|
private static readonly pb::FieldCodec<global::EggLink.DanhengServer.Proto.AOFKJIDDAFL> _repeated_nJAHJKFCCBM_codec
|
|
= pb::FieldCodec.ForMessage(58, global::EggLink.DanhengServer.Proto.AOFKJIDDAFL.Parser);
|
|
private readonly pbc::RepeatedField<global::EggLink.DanhengServer.Proto.AOFKJIDDAFL> nJAHJKFCCBM_ = new pbc::RepeatedField<global::EggLink.DanhengServer.Proto.AOFKJIDDAFL>();
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public pbc::RepeatedField<global::EggLink.DanhengServer.Proto.AOFKJIDDAFL> NJAHJKFCCBM {
|
|
get { return nJAHJKFCCBM_; }
|
|
}
|
|
|
|
/// <summary>Field number for the "item_list" field.</summary>
|
|
public const int ItemListFieldNumber = 2;
|
|
private global::EggLink.DanhengServer.Proto.ItemList itemList_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public global::EggLink.DanhengServer.Proto.ItemList ItemList {
|
|
get { return itemList_; }
|
|
set {
|
|
itemList_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "KBOCCCPNGNN" field.</summary>
|
|
public const int KBOCCCPNGNNFieldNumber = 1;
|
|
private ulong kBOCCCPNGNN_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public ulong KBOCCCPNGNN {
|
|
get { return kBOCCCPNGNN_; }
|
|
set {
|
|
kBOCCCPNGNN_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "world_level" field.</summary>
|
|
public const int WorldLevelFieldNumber = 6;
|
|
private uint worldLevel_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint WorldLevel {
|
|
get { return worldLevel_; }
|
|
set {
|
|
worldLevel_ = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public override bool Equals(object other) {
|
|
return Equals(other as RaidInfoNotify);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool Equals(RaidInfoNotify other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
if (RaidId != other.RaidId) return false;
|
|
if (Status != other.Status) return false;
|
|
if(!nJAHJKFCCBM_.Equals(other.nJAHJKFCCBM_)) return false;
|
|
if (!object.Equals(ItemList, other.ItemList)) return false;
|
|
if (KBOCCCPNGNN != other.KBOCCCPNGNN) return false;
|
|
if (WorldLevel != other.WorldLevel) 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 (RaidId != 0) hash ^= RaidId.GetHashCode();
|
|
if (Status != global::EggLink.DanhengServer.Proto.RaidStatus.None) hash ^= Status.GetHashCode();
|
|
hash ^= nJAHJKFCCBM_.GetHashCode();
|
|
if (itemList_ != null) hash ^= ItemList.GetHashCode();
|
|
if (KBOCCCPNGNN != 0UL) hash ^= KBOCCCPNGNN.GetHashCode();
|
|
if (WorldLevel != 0) hash ^= WorldLevel.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 (KBOCCCPNGNN != 0UL) {
|
|
output.WriteRawTag(8);
|
|
output.WriteUInt64(KBOCCCPNGNN);
|
|
}
|
|
if (itemList_ != null) {
|
|
output.WriteRawTag(18);
|
|
output.WriteMessage(ItemList);
|
|
}
|
|
if (Status != global::EggLink.DanhengServer.Proto.RaidStatus.None) {
|
|
output.WriteRawTag(32);
|
|
output.WriteEnum((int) Status);
|
|
}
|
|
if (WorldLevel != 0) {
|
|
output.WriteRawTag(48);
|
|
output.WriteUInt32(WorldLevel);
|
|
}
|
|
nJAHJKFCCBM_.WriteTo(output, _repeated_nJAHJKFCCBM_codec);
|
|
if (RaidId != 0) {
|
|
output.WriteRawTag(80);
|
|
output.WriteUInt32(RaidId);
|
|
}
|
|
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 (KBOCCCPNGNN != 0UL) {
|
|
output.WriteRawTag(8);
|
|
output.WriteUInt64(KBOCCCPNGNN);
|
|
}
|
|
if (itemList_ != null) {
|
|
output.WriteRawTag(18);
|
|
output.WriteMessage(ItemList);
|
|
}
|
|
if (Status != global::EggLink.DanhengServer.Proto.RaidStatus.None) {
|
|
output.WriteRawTag(32);
|
|
output.WriteEnum((int) Status);
|
|
}
|
|
if (WorldLevel != 0) {
|
|
output.WriteRawTag(48);
|
|
output.WriteUInt32(WorldLevel);
|
|
}
|
|
nJAHJKFCCBM_.WriteTo(ref output, _repeated_nJAHJKFCCBM_codec);
|
|
if (RaidId != 0) {
|
|
output.WriteRawTag(80);
|
|
output.WriteUInt32(RaidId);
|
|
}
|
|
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 (RaidId != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(RaidId);
|
|
}
|
|
if (Status != global::EggLink.DanhengServer.Proto.RaidStatus.None) {
|
|
size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Status);
|
|
}
|
|
size += nJAHJKFCCBM_.CalculateSize(_repeated_nJAHJKFCCBM_codec);
|
|
if (itemList_ != null) {
|
|
size += 1 + pb::CodedOutputStream.ComputeMessageSize(ItemList);
|
|
}
|
|
if (KBOCCCPNGNN != 0UL) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt64Size(KBOCCCPNGNN);
|
|
}
|
|
if (WorldLevel != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(WorldLevel);
|
|
}
|
|
if (_unknownFields != null) {
|
|
size += _unknownFields.CalculateSize();
|
|
}
|
|
return size;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public void MergeFrom(RaidInfoNotify other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
if (other.RaidId != 0) {
|
|
RaidId = other.RaidId;
|
|
}
|
|
if (other.Status != global::EggLink.DanhengServer.Proto.RaidStatus.None) {
|
|
Status = other.Status;
|
|
}
|
|
nJAHJKFCCBM_.Add(other.nJAHJKFCCBM_);
|
|
if (other.itemList_ != null) {
|
|
if (itemList_ == null) {
|
|
ItemList = new global::EggLink.DanhengServer.Proto.ItemList();
|
|
}
|
|
ItemList.MergeFrom(other.ItemList);
|
|
}
|
|
if (other.KBOCCCPNGNN != 0UL) {
|
|
KBOCCCPNGNN = other.KBOCCCPNGNN;
|
|
}
|
|
if (other.WorldLevel != 0) {
|
|
WorldLevel = other.WorldLevel;
|
|
}
|
|
_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 8: {
|
|
KBOCCCPNGNN = input.ReadUInt64();
|
|
break;
|
|
}
|
|
case 18: {
|
|
if (itemList_ == null) {
|
|
ItemList = new global::EggLink.DanhengServer.Proto.ItemList();
|
|
}
|
|
input.ReadMessage(ItemList);
|
|
break;
|
|
}
|
|
case 32: {
|
|
Status = (global::EggLink.DanhengServer.Proto.RaidStatus) input.ReadEnum();
|
|
break;
|
|
}
|
|
case 48: {
|
|
WorldLevel = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 58: {
|
|
nJAHJKFCCBM_.AddEntriesFrom(input, _repeated_nJAHJKFCCBM_codec);
|
|
break;
|
|
}
|
|
case 80: {
|
|
RaidId = 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 8: {
|
|
KBOCCCPNGNN = input.ReadUInt64();
|
|
break;
|
|
}
|
|
case 18: {
|
|
if (itemList_ == null) {
|
|
ItemList = new global::EggLink.DanhengServer.Proto.ItemList();
|
|
}
|
|
input.ReadMessage(ItemList);
|
|
break;
|
|
}
|
|
case 32: {
|
|
Status = (global::EggLink.DanhengServer.Proto.RaidStatus) input.ReadEnum();
|
|
break;
|
|
}
|
|
case 48: {
|
|
WorldLevel = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 58: {
|
|
nJAHJKFCCBM_.AddEntriesFrom(ref input, _repeated_nJAHJKFCCBM_codec);
|
|
break;
|
|
}
|
|
case 80: {
|
|
RaidId = input.ReadUInt32();
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
}
|
|
|
|
#endregion Designer generated code
|