mirror of
https://github.com/EggLinks/DanhengServer-OpenSource.git
synced 2026-01-02 20:26:03 +08:00
334 lines
13 KiB
C#
334 lines
13 KiB
C#
// <auto-generated>
|
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
// source: CommonRogueUpdateScNotify.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 CommonRogueUpdateScNotify.proto</summary>
|
|
public static partial class CommonRogueUpdateScNotifyReflection {
|
|
|
|
#region Descriptor
|
|
/// <summary>File descriptor for CommonRogueUpdateScNotify.proto</summary>
|
|
public static pbr::FileDescriptor Descriptor {
|
|
get { return descriptor; }
|
|
}
|
|
private static pbr::FileDescriptor descriptor;
|
|
|
|
static CommonRogueUpdateScNotifyReflection() {
|
|
byte[] descriptorData = global::System.Convert.FromBase64String(
|
|
string.Concat(
|
|
"Ch9Db21tb25Sb2d1ZVVwZGF0ZVNjTm90aWZ5LnByb3RvGhFERUlQSkNOT0lC",
|
|
"Ty5wcm90bxoRQURJTEFPSklNUE8ucHJvdG8ieAoZQ29tbW9uUm9ndWVVcGRh",
|
|
"dGVTY05vdGlmeRInCg9yb2d1ZV9hcmVhX2luZm8YBCABKAsyDC5ERUlQSkNO",
|
|
"T0lCT0gAEiMKC09OR0hOSkNHSkxBGAogASgLMgwuQURJTEFPSklNUE9IAEIN",
|
|
"CgtJRUNPR0ZEQ09QUEIeqgIbRWdnTGluay5EYW5oZW5nU2VydmVyLlByb3Rv",
|
|
"YgZwcm90bzM="));
|
|
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
|
new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.DEIPJCNOIBOReflection.Descriptor, global::EggLink.DanhengServer.Proto.ADILAOJIMPOReflection.Descriptor, },
|
|
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.CommonRogueUpdateScNotify), global::EggLink.DanhengServer.Proto.CommonRogueUpdateScNotify.Parser, new[]{ "RogueAreaInfo", "ONGHNJCGJLA" }, new[]{ "IECOGFDCOPP" }, null, null, null)
|
|
}));
|
|
}
|
|
#endregion
|
|
|
|
}
|
|
#region Messages
|
|
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
|
public sealed partial class CommonRogueUpdateScNotify : pb::IMessage<CommonRogueUpdateScNotify>
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
, pb::IBufferMessage
|
|
#endif
|
|
{
|
|
private static readonly pb::MessageParser<CommonRogueUpdateScNotify> _parser = new pb::MessageParser<CommonRogueUpdateScNotify>(() => new CommonRogueUpdateScNotify());
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pb::MessageParser<CommonRogueUpdateScNotify> 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.CommonRogueUpdateScNotifyReflection.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 CommonRogueUpdateScNotify() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public CommonRogueUpdateScNotify(CommonRogueUpdateScNotify other) : this() {
|
|
switch (other.IECOGFDCOPPCase) {
|
|
case IECOGFDCOPPOneofCase.RogueAreaInfo:
|
|
RogueAreaInfo = other.RogueAreaInfo.Clone();
|
|
break;
|
|
case IECOGFDCOPPOneofCase.ONGHNJCGJLA:
|
|
ONGHNJCGJLA = other.ONGHNJCGJLA.Clone();
|
|
break;
|
|
}
|
|
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public CommonRogueUpdateScNotify Clone() {
|
|
return new CommonRogueUpdateScNotify(this);
|
|
}
|
|
|
|
/// <summary>Field number for the "rogue_area_info" field.</summary>
|
|
public const int RogueAreaInfoFieldNumber = 4;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public global::EggLink.DanhengServer.Proto.DEIPJCNOIBO RogueAreaInfo {
|
|
get { return iECOGFDCOPPCase_ == IECOGFDCOPPOneofCase.RogueAreaInfo ? (global::EggLink.DanhengServer.Proto.DEIPJCNOIBO) iECOGFDCOPP_ : null; }
|
|
set {
|
|
iECOGFDCOPP_ = value;
|
|
iECOGFDCOPPCase_ = value == null ? IECOGFDCOPPOneofCase.None : IECOGFDCOPPOneofCase.RogueAreaInfo;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "ONGHNJCGJLA" field.</summary>
|
|
public const int ONGHNJCGJLAFieldNumber = 10;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public global::EggLink.DanhengServer.Proto.ADILAOJIMPO ONGHNJCGJLA {
|
|
get { return iECOGFDCOPPCase_ == IECOGFDCOPPOneofCase.ONGHNJCGJLA ? (global::EggLink.DanhengServer.Proto.ADILAOJIMPO) iECOGFDCOPP_ : null; }
|
|
set {
|
|
iECOGFDCOPP_ = value;
|
|
iECOGFDCOPPCase_ = value == null ? IECOGFDCOPPOneofCase.None : IECOGFDCOPPOneofCase.ONGHNJCGJLA;
|
|
}
|
|
}
|
|
|
|
private object iECOGFDCOPP_;
|
|
/// <summary>Enum of possible cases for the "IECOGFDCOPP" oneof.</summary>
|
|
public enum IECOGFDCOPPOneofCase {
|
|
None = 0,
|
|
RogueAreaInfo = 4,
|
|
ONGHNJCGJLA = 10,
|
|
}
|
|
private IECOGFDCOPPOneofCase iECOGFDCOPPCase_ = IECOGFDCOPPOneofCase.None;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public IECOGFDCOPPOneofCase IECOGFDCOPPCase {
|
|
get { return iECOGFDCOPPCase_; }
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public void ClearIECOGFDCOPP() {
|
|
iECOGFDCOPPCase_ = IECOGFDCOPPOneofCase.None;
|
|
iECOGFDCOPP_ = null;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public override bool Equals(object other) {
|
|
return Equals(other as CommonRogueUpdateScNotify);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool Equals(CommonRogueUpdateScNotify other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
if (!object.Equals(RogueAreaInfo, other.RogueAreaInfo)) return false;
|
|
if (!object.Equals(ONGHNJCGJLA, other.ONGHNJCGJLA)) return false;
|
|
if (IECOGFDCOPPCase != other.IECOGFDCOPPCase) 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 (iECOGFDCOPPCase_ == IECOGFDCOPPOneofCase.RogueAreaInfo) hash ^= RogueAreaInfo.GetHashCode();
|
|
if (iECOGFDCOPPCase_ == IECOGFDCOPPOneofCase.ONGHNJCGJLA) hash ^= ONGHNJCGJLA.GetHashCode();
|
|
hash ^= (int) iECOGFDCOPPCase_;
|
|
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 (iECOGFDCOPPCase_ == IECOGFDCOPPOneofCase.RogueAreaInfo) {
|
|
output.WriteRawTag(34);
|
|
output.WriteMessage(RogueAreaInfo);
|
|
}
|
|
if (iECOGFDCOPPCase_ == IECOGFDCOPPOneofCase.ONGHNJCGJLA) {
|
|
output.WriteRawTag(82);
|
|
output.WriteMessage(ONGHNJCGJLA);
|
|
}
|
|
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 (iECOGFDCOPPCase_ == IECOGFDCOPPOneofCase.RogueAreaInfo) {
|
|
output.WriteRawTag(34);
|
|
output.WriteMessage(RogueAreaInfo);
|
|
}
|
|
if (iECOGFDCOPPCase_ == IECOGFDCOPPOneofCase.ONGHNJCGJLA) {
|
|
output.WriteRawTag(82);
|
|
output.WriteMessage(ONGHNJCGJLA);
|
|
}
|
|
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 (iECOGFDCOPPCase_ == IECOGFDCOPPOneofCase.RogueAreaInfo) {
|
|
size += 1 + pb::CodedOutputStream.ComputeMessageSize(RogueAreaInfo);
|
|
}
|
|
if (iECOGFDCOPPCase_ == IECOGFDCOPPOneofCase.ONGHNJCGJLA) {
|
|
size += 1 + pb::CodedOutputStream.ComputeMessageSize(ONGHNJCGJLA);
|
|
}
|
|
if (_unknownFields != null) {
|
|
size += _unknownFields.CalculateSize();
|
|
}
|
|
return size;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public void MergeFrom(CommonRogueUpdateScNotify other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
switch (other.IECOGFDCOPPCase) {
|
|
case IECOGFDCOPPOneofCase.RogueAreaInfo:
|
|
if (RogueAreaInfo == null) {
|
|
RogueAreaInfo = new global::EggLink.DanhengServer.Proto.DEIPJCNOIBO();
|
|
}
|
|
RogueAreaInfo.MergeFrom(other.RogueAreaInfo);
|
|
break;
|
|
case IECOGFDCOPPOneofCase.ONGHNJCGJLA:
|
|
if (ONGHNJCGJLA == null) {
|
|
ONGHNJCGJLA = new global::EggLink.DanhengServer.Proto.ADILAOJIMPO();
|
|
}
|
|
ONGHNJCGJLA.MergeFrom(other.ONGHNJCGJLA);
|
|
break;
|
|
}
|
|
|
|
_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: {
|
|
global::EggLink.DanhengServer.Proto.DEIPJCNOIBO subBuilder = new global::EggLink.DanhengServer.Proto.DEIPJCNOIBO();
|
|
if (iECOGFDCOPPCase_ == IECOGFDCOPPOneofCase.RogueAreaInfo) {
|
|
subBuilder.MergeFrom(RogueAreaInfo);
|
|
}
|
|
input.ReadMessage(subBuilder);
|
|
RogueAreaInfo = subBuilder;
|
|
break;
|
|
}
|
|
case 82: {
|
|
global::EggLink.DanhengServer.Proto.ADILAOJIMPO subBuilder = new global::EggLink.DanhengServer.Proto.ADILAOJIMPO();
|
|
if (iECOGFDCOPPCase_ == IECOGFDCOPPOneofCase.ONGHNJCGJLA) {
|
|
subBuilder.MergeFrom(ONGHNJCGJLA);
|
|
}
|
|
input.ReadMessage(subBuilder);
|
|
ONGHNJCGJLA = subBuilder;
|
|
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: {
|
|
global::EggLink.DanhengServer.Proto.DEIPJCNOIBO subBuilder = new global::EggLink.DanhengServer.Proto.DEIPJCNOIBO();
|
|
if (iECOGFDCOPPCase_ == IECOGFDCOPPOneofCase.RogueAreaInfo) {
|
|
subBuilder.MergeFrom(RogueAreaInfo);
|
|
}
|
|
input.ReadMessage(subBuilder);
|
|
RogueAreaInfo = subBuilder;
|
|
break;
|
|
}
|
|
case 82: {
|
|
global::EggLink.DanhengServer.Proto.ADILAOJIMPO subBuilder = new global::EggLink.DanhengServer.Proto.ADILAOJIMPO();
|
|
if (iECOGFDCOPPCase_ == IECOGFDCOPPOneofCase.ONGHNJCGJLA) {
|
|
subBuilder.MergeFrom(ONGHNJCGJLA);
|
|
}
|
|
input.ReadMessage(subBuilder);
|
|
ONGHNJCGJLA = subBuilder;
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
}
|
|
|
|
#endregion Designer generated code
|