mirror of
https://github.com/EggLinks/DanhengServer-OpenSource.git
synced 2026-01-03 04:36:03 +08:00
470 lines
17 KiB
C#
470 lines
17 KiB
C#
// <auto-generated>
|
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
// source: RevcMsgScNotify.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 RevcMsgScNotify.proto</summary>
|
|
public static partial class RevcMsgScNotifyReflection {
|
|
|
|
#region Descriptor
|
|
/// <summary>File descriptor for RevcMsgScNotify.proto</summary>
|
|
public static pbr::FileDescriptor Descriptor {
|
|
get { return descriptor; }
|
|
}
|
|
private static pbr::FileDescriptor descriptor;
|
|
|
|
static RevcMsgScNotifyReflection() {
|
|
byte[] descriptorData = global::System.Convert.FromBase64String(
|
|
string.Concat(
|
|
"ChVSZXZjTXNnU2NOb3RpZnkucHJvdG8aEVBFRExQSERCTkFGLnByb3RvGg5D",
|
|
"aGF0VHlwZS5wcm90bxoNTXNnVHlwZS5wcm90byLCAQoPUmV2Y01zZ1NjTm90",
|
|
"aWZ5Eh4KDG1lc3NhZ2VfdHlwZRgNIAEoDjIILk1zZ1R5cGUSFAoMbWVzc2Fn",
|
|
"ZV90ZXh0GAcgASgJEhwKCWNoYXRfdHlwZRgOIAEoDjIJLkNoYXRUeXBlEhAK",
|
|
"CGV4dHJhX2lkGAkgASgNEiEKC0hOQkVQQUJOQk5HGAQgASgLMgwuUEVETFBI",
|
|
"REJOQUYSEgoKdGFyZ2V0X3VpZBgPIAEoDRISCgpzb3VyY2VfdWlkGAMgASgN",
|
|
"Qh6qAhtFZ2dMaW5rLkRhbmhlbmdTZXJ2ZXIuUHJvdG9iBnByb3RvMw=="));
|
|
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
|
new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.PEDLPHDBNAFReflection.Descriptor, global::EggLink.DanhengServer.Proto.ChatTypeReflection.Descriptor, global::EggLink.DanhengServer.Proto.MsgTypeReflection.Descriptor, },
|
|
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.RevcMsgScNotify), global::EggLink.DanhengServer.Proto.RevcMsgScNotify.Parser, new[]{ "MessageType", "MessageText", "ChatType", "ExtraId", "HNBEPABNBNG", "TargetUid", "SourceUid" }, null, null, null, null)
|
|
}));
|
|
}
|
|
#endregion
|
|
|
|
}
|
|
#region Messages
|
|
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
|
public sealed partial class RevcMsgScNotify : pb::IMessage<RevcMsgScNotify>
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
, pb::IBufferMessage
|
|
#endif
|
|
{
|
|
private static readonly pb::MessageParser<RevcMsgScNotify> _parser = new pb::MessageParser<RevcMsgScNotify>(() => new RevcMsgScNotify());
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pb::MessageParser<RevcMsgScNotify> 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.RevcMsgScNotifyReflection.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 RevcMsgScNotify() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public RevcMsgScNotify(RevcMsgScNotify other) : this() {
|
|
messageType_ = other.messageType_;
|
|
messageText_ = other.messageText_;
|
|
chatType_ = other.chatType_;
|
|
extraId_ = other.extraId_;
|
|
hNBEPABNBNG_ = other.hNBEPABNBNG_ != null ? other.hNBEPABNBNG_.Clone() : null;
|
|
targetUid_ = other.targetUid_;
|
|
sourceUid_ = other.sourceUid_;
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public RevcMsgScNotify Clone() {
|
|
return new RevcMsgScNotify(this);
|
|
}
|
|
|
|
/// <summary>Field number for the "message_type" field.</summary>
|
|
public const int MessageTypeFieldNumber = 13;
|
|
private global::EggLink.DanhengServer.Proto.MsgType messageType_ = global::EggLink.DanhengServer.Proto.MsgType.None;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public global::EggLink.DanhengServer.Proto.MsgType MessageType {
|
|
get { return messageType_; }
|
|
set {
|
|
messageType_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "message_text" field.</summary>
|
|
public const int MessageTextFieldNumber = 7;
|
|
private string messageText_ = "";
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public string MessageText {
|
|
get { return messageText_; }
|
|
set {
|
|
messageText_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "chat_type" field.</summary>
|
|
public const int ChatTypeFieldNumber = 14;
|
|
private global::EggLink.DanhengServer.Proto.ChatType chatType_ = global::EggLink.DanhengServer.Proto.ChatType.None;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public global::EggLink.DanhengServer.Proto.ChatType ChatType {
|
|
get { return chatType_; }
|
|
set {
|
|
chatType_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "extra_id" field.</summary>
|
|
public const int ExtraIdFieldNumber = 9;
|
|
private uint extraId_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint ExtraId {
|
|
get { return extraId_; }
|
|
set {
|
|
extraId_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "HNBEPABNBNG" field.</summary>
|
|
public const int HNBEPABNBNGFieldNumber = 4;
|
|
private global::EggLink.DanhengServer.Proto.PEDLPHDBNAF hNBEPABNBNG_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public global::EggLink.DanhengServer.Proto.PEDLPHDBNAF HNBEPABNBNG {
|
|
get { return hNBEPABNBNG_; }
|
|
set {
|
|
hNBEPABNBNG_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "target_uid" field.</summary>
|
|
public const int TargetUidFieldNumber = 15;
|
|
private uint targetUid_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint TargetUid {
|
|
get { return targetUid_; }
|
|
set {
|
|
targetUid_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "source_uid" field.</summary>
|
|
public const int SourceUidFieldNumber = 3;
|
|
private uint sourceUid_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint SourceUid {
|
|
get { return sourceUid_; }
|
|
set {
|
|
sourceUid_ = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public override bool Equals(object other) {
|
|
return Equals(other as RevcMsgScNotify);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool Equals(RevcMsgScNotify other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
if (MessageType != other.MessageType) return false;
|
|
if (MessageText != other.MessageText) return false;
|
|
if (ChatType != other.ChatType) return false;
|
|
if (ExtraId != other.ExtraId) return false;
|
|
if (!object.Equals(HNBEPABNBNG, other.HNBEPABNBNG)) return false;
|
|
if (TargetUid != other.TargetUid) return false;
|
|
if (SourceUid != other.SourceUid) 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 (MessageType != global::EggLink.DanhengServer.Proto.MsgType.None) hash ^= MessageType.GetHashCode();
|
|
if (MessageText.Length != 0) hash ^= MessageText.GetHashCode();
|
|
if (ChatType != global::EggLink.DanhengServer.Proto.ChatType.None) hash ^= ChatType.GetHashCode();
|
|
if (ExtraId != 0) hash ^= ExtraId.GetHashCode();
|
|
if (hNBEPABNBNG_ != null) hash ^= HNBEPABNBNG.GetHashCode();
|
|
if (TargetUid != 0) hash ^= TargetUid.GetHashCode();
|
|
if (SourceUid != 0) hash ^= SourceUid.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 (SourceUid != 0) {
|
|
output.WriteRawTag(24);
|
|
output.WriteUInt32(SourceUid);
|
|
}
|
|
if (hNBEPABNBNG_ != null) {
|
|
output.WriteRawTag(34);
|
|
output.WriteMessage(HNBEPABNBNG);
|
|
}
|
|
if (MessageText.Length != 0) {
|
|
output.WriteRawTag(58);
|
|
output.WriteString(MessageText);
|
|
}
|
|
if (ExtraId != 0) {
|
|
output.WriteRawTag(72);
|
|
output.WriteUInt32(ExtraId);
|
|
}
|
|
if (MessageType != global::EggLink.DanhengServer.Proto.MsgType.None) {
|
|
output.WriteRawTag(104);
|
|
output.WriteEnum((int) MessageType);
|
|
}
|
|
if (ChatType != global::EggLink.DanhengServer.Proto.ChatType.None) {
|
|
output.WriteRawTag(112);
|
|
output.WriteEnum((int) ChatType);
|
|
}
|
|
if (TargetUid != 0) {
|
|
output.WriteRawTag(120);
|
|
output.WriteUInt32(TargetUid);
|
|
}
|
|
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 (SourceUid != 0) {
|
|
output.WriteRawTag(24);
|
|
output.WriteUInt32(SourceUid);
|
|
}
|
|
if (hNBEPABNBNG_ != null) {
|
|
output.WriteRawTag(34);
|
|
output.WriteMessage(HNBEPABNBNG);
|
|
}
|
|
if (MessageText.Length != 0) {
|
|
output.WriteRawTag(58);
|
|
output.WriteString(MessageText);
|
|
}
|
|
if (ExtraId != 0) {
|
|
output.WriteRawTag(72);
|
|
output.WriteUInt32(ExtraId);
|
|
}
|
|
if (MessageType != global::EggLink.DanhengServer.Proto.MsgType.None) {
|
|
output.WriteRawTag(104);
|
|
output.WriteEnum((int) MessageType);
|
|
}
|
|
if (ChatType != global::EggLink.DanhengServer.Proto.ChatType.None) {
|
|
output.WriteRawTag(112);
|
|
output.WriteEnum((int) ChatType);
|
|
}
|
|
if (TargetUid != 0) {
|
|
output.WriteRawTag(120);
|
|
output.WriteUInt32(TargetUid);
|
|
}
|
|
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 (MessageType != global::EggLink.DanhengServer.Proto.MsgType.None) {
|
|
size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) MessageType);
|
|
}
|
|
if (MessageText.Length != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeStringSize(MessageText);
|
|
}
|
|
if (ChatType != global::EggLink.DanhengServer.Proto.ChatType.None) {
|
|
size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) ChatType);
|
|
}
|
|
if (ExtraId != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(ExtraId);
|
|
}
|
|
if (hNBEPABNBNG_ != null) {
|
|
size += 1 + pb::CodedOutputStream.ComputeMessageSize(HNBEPABNBNG);
|
|
}
|
|
if (TargetUid != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(TargetUid);
|
|
}
|
|
if (SourceUid != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(SourceUid);
|
|
}
|
|
if (_unknownFields != null) {
|
|
size += _unknownFields.CalculateSize();
|
|
}
|
|
return size;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public void MergeFrom(RevcMsgScNotify other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
if (other.MessageType != global::EggLink.DanhengServer.Proto.MsgType.None) {
|
|
MessageType = other.MessageType;
|
|
}
|
|
if (other.MessageText.Length != 0) {
|
|
MessageText = other.MessageText;
|
|
}
|
|
if (other.ChatType != global::EggLink.DanhengServer.Proto.ChatType.None) {
|
|
ChatType = other.ChatType;
|
|
}
|
|
if (other.ExtraId != 0) {
|
|
ExtraId = other.ExtraId;
|
|
}
|
|
if (other.hNBEPABNBNG_ != null) {
|
|
if (hNBEPABNBNG_ == null) {
|
|
HNBEPABNBNG = new global::EggLink.DanhengServer.Proto.PEDLPHDBNAF();
|
|
}
|
|
HNBEPABNBNG.MergeFrom(other.HNBEPABNBNG);
|
|
}
|
|
if (other.TargetUid != 0) {
|
|
TargetUid = other.TargetUid;
|
|
}
|
|
if (other.SourceUid != 0) {
|
|
SourceUid = other.SourceUid;
|
|
}
|
|
_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 24: {
|
|
SourceUid = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 34: {
|
|
if (hNBEPABNBNG_ == null) {
|
|
HNBEPABNBNG = new global::EggLink.DanhengServer.Proto.PEDLPHDBNAF();
|
|
}
|
|
input.ReadMessage(HNBEPABNBNG);
|
|
break;
|
|
}
|
|
case 58: {
|
|
MessageText = input.ReadString();
|
|
break;
|
|
}
|
|
case 72: {
|
|
ExtraId = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 104: {
|
|
MessageType = (global::EggLink.DanhengServer.Proto.MsgType) input.ReadEnum();
|
|
break;
|
|
}
|
|
case 112: {
|
|
ChatType = (global::EggLink.DanhengServer.Proto.ChatType) input.ReadEnum();
|
|
break;
|
|
}
|
|
case 120: {
|
|
TargetUid = 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 24: {
|
|
SourceUid = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 34: {
|
|
if (hNBEPABNBNG_ == null) {
|
|
HNBEPABNBNG = new global::EggLink.DanhengServer.Proto.PEDLPHDBNAF();
|
|
}
|
|
input.ReadMessage(HNBEPABNBNG);
|
|
break;
|
|
}
|
|
case 58: {
|
|
MessageText = input.ReadString();
|
|
break;
|
|
}
|
|
case 72: {
|
|
ExtraId = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 104: {
|
|
MessageType = (global::EggLink.DanhengServer.Proto.MsgType) input.ReadEnum();
|
|
break;
|
|
}
|
|
case 112: {
|
|
ChatType = (global::EggLink.DanhengServer.Proto.ChatType) input.ReadEnum();
|
|
break;
|
|
}
|
|
case 120: {
|
|
TargetUid = input.ReadUInt32();
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
}
|
|
|
|
#endregion Designer generated code
|