mirror of
https://github.com/EggLinks/DanhengServer-OpenSource.git
synced 2026-01-02 20:26:03 +08:00
424 lines
16 KiB
C#
424 lines
16 KiB
C#
// <auto-generated>
|
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
// source: SendMsgCsReq.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 SendMsgCsReq.proto</summary>
|
|
public static partial class SendMsgCsReqReflection {
|
|
|
|
#region Descriptor
|
|
/// <summary>File descriptor for SendMsgCsReq.proto</summary>
|
|
public static pbr::FileDescriptor Descriptor {
|
|
get { return descriptor; }
|
|
}
|
|
private static pbr::FileDescriptor descriptor;
|
|
|
|
static SendMsgCsReqReflection() {
|
|
byte[] descriptorData = global::System.Convert.FromBase64String(
|
|
string.Concat(
|
|
"ChJTZW5kTXNnQ3NSZXEucHJvdG8aDU1zZ1R5cGUucHJvdG8aDkNoYXRUeXBl",
|
|
"LnByb3RvGhFNTk1FQkRGQUpKUC5wcm90byKsAQoMU2VuZE1zZ0NzUmVxEhAK",
|
|
"CGV4dHJhX2lkGAsgASgNEhQKDG1lc3NhZ2VfdGV4dBgIIAEoCRITCgt0YXJn",
|
|
"ZXRfbGlzdBgGIAMoDRIcCgljaGF0X3R5cGUYASABKA4yCS5DaGF0VHlwZRIe",
|
|
"CgxtZXNzYWdlX3R5cGUYAyABKA4yCC5Nc2dUeXBlEiEKC09ISU5MREJFTEJB",
|
|
"GAcgASgLMgwuTU5NRUJERkFKSlBCHqoCG0VnZ0xpbmsuRGFuaGVuZ1NlcnZl",
|
|
"ci5Qcm90b2IGcHJvdG8z"));
|
|
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
|
new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.MsgTypeReflection.Descriptor, global::EggLink.DanhengServer.Proto.ChatTypeReflection.Descriptor, global::EggLink.DanhengServer.Proto.MNMEBDFAJJPReflection.Descriptor, },
|
|
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.SendMsgCsReq), global::EggLink.DanhengServer.Proto.SendMsgCsReq.Parser, new[]{ "ExtraId", "MessageText", "TargetList", "ChatType", "MessageType", "OHINLDBELBA" }, null, null, null, null)
|
|
}));
|
|
}
|
|
#endregion
|
|
|
|
}
|
|
#region Messages
|
|
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
|
public sealed partial class SendMsgCsReq : pb::IMessage<SendMsgCsReq>
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
, pb::IBufferMessage
|
|
#endif
|
|
{
|
|
private static readonly pb::MessageParser<SendMsgCsReq> _parser = new pb::MessageParser<SendMsgCsReq>(() => new SendMsgCsReq());
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pb::MessageParser<SendMsgCsReq> 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.SendMsgCsReqReflection.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 SendMsgCsReq() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public SendMsgCsReq(SendMsgCsReq other) : this() {
|
|
extraId_ = other.extraId_;
|
|
messageText_ = other.messageText_;
|
|
targetList_ = other.targetList_.Clone();
|
|
chatType_ = other.chatType_;
|
|
messageType_ = other.messageType_;
|
|
oHINLDBELBA_ = other.oHINLDBELBA_ != null ? other.oHINLDBELBA_.Clone() : null;
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public SendMsgCsReq Clone() {
|
|
return new SendMsgCsReq(this);
|
|
}
|
|
|
|
/// <summary>Field number for the "extra_id" field.</summary>
|
|
public const int ExtraIdFieldNumber = 11;
|
|
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 "message_text" field.</summary>
|
|
public const int MessageTextFieldNumber = 8;
|
|
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 "target_list" field.</summary>
|
|
public const int TargetListFieldNumber = 6;
|
|
private static readonly pb::FieldCodec<uint> _repeated_targetList_codec
|
|
= pb::FieldCodec.ForUInt32(50);
|
|
private readonly pbc::RepeatedField<uint> targetList_ = new pbc::RepeatedField<uint>();
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public pbc::RepeatedField<uint> TargetList {
|
|
get { return targetList_; }
|
|
}
|
|
|
|
/// <summary>Field number for the "chat_type" field.</summary>
|
|
public const int ChatTypeFieldNumber = 1;
|
|
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 "message_type" field.</summary>
|
|
public const int MessageTypeFieldNumber = 3;
|
|
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 "OHINLDBELBA" field.</summary>
|
|
public const int OHINLDBELBAFieldNumber = 7;
|
|
private global::EggLink.DanhengServer.Proto.MNMEBDFAJJP oHINLDBELBA_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public global::EggLink.DanhengServer.Proto.MNMEBDFAJJP OHINLDBELBA {
|
|
get { return oHINLDBELBA_; }
|
|
set {
|
|
oHINLDBELBA_ = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public override bool Equals(object other) {
|
|
return Equals(other as SendMsgCsReq);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool Equals(SendMsgCsReq other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
if (ExtraId != other.ExtraId) return false;
|
|
if (MessageText != other.MessageText) return false;
|
|
if(!targetList_.Equals(other.targetList_)) return false;
|
|
if (ChatType != other.ChatType) return false;
|
|
if (MessageType != other.MessageType) return false;
|
|
if (!object.Equals(OHINLDBELBA, other.OHINLDBELBA)) 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 (ExtraId != 0) hash ^= ExtraId.GetHashCode();
|
|
if (MessageText.Length != 0) hash ^= MessageText.GetHashCode();
|
|
hash ^= targetList_.GetHashCode();
|
|
if (ChatType != global::EggLink.DanhengServer.Proto.ChatType.None) hash ^= ChatType.GetHashCode();
|
|
if (MessageType != global::EggLink.DanhengServer.Proto.MsgType.None) hash ^= MessageType.GetHashCode();
|
|
if (oHINLDBELBA_ != null) hash ^= OHINLDBELBA.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 (ChatType != global::EggLink.DanhengServer.Proto.ChatType.None) {
|
|
output.WriteRawTag(8);
|
|
output.WriteEnum((int) ChatType);
|
|
}
|
|
if (MessageType != global::EggLink.DanhengServer.Proto.MsgType.None) {
|
|
output.WriteRawTag(24);
|
|
output.WriteEnum((int) MessageType);
|
|
}
|
|
targetList_.WriteTo(output, _repeated_targetList_codec);
|
|
if (oHINLDBELBA_ != null) {
|
|
output.WriteRawTag(58);
|
|
output.WriteMessage(OHINLDBELBA);
|
|
}
|
|
if (MessageText.Length != 0) {
|
|
output.WriteRawTag(66);
|
|
output.WriteString(MessageText);
|
|
}
|
|
if (ExtraId != 0) {
|
|
output.WriteRawTag(88);
|
|
output.WriteUInt32(ExtraId);
|
|
}
|
|
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 (ChatType != global::EggLink.DanhengServer.Proto.ChatType.None) {
|
|
output.WriteRawTag(8);
|
|
output.WriteEnum((int) ChatType);
|
|
}
|
|
if (MessageType != global::EggLink.DanhengServer.Proto.MsgType.None) {
|
|
output.WriteRawTag(24);
|
|
output.WriteEnum((int) MessageType);
|
|
}
|
|
targetList_.WriteTo(ref output, _repeated_targetList_codec);
|
|
if (oHINLDBELBA_ != null) {
|
|
output.WriteRawTag(58);
|
|
output.WriteMessage(OHINLDBELBA);
|
|
}
|
|
if (MessageText.Length != 0) {
|
|
output.WriteRawTag(66);
|
|
output.WriteString(MessageText);
|
|
}
|
|
if (ExtraId != 0) {
|
|
output.WriteRawTag(88);
|
|
output.WriteUInt32(ExtraId);
|
|
}
|
|
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 (ExtraId != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(ExtraId);
|
|
}
|
|
if (MessageText.Length != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeStringSize(MessageText);
|
|
}
|
|
size += targetList_.CalculateSize(_repeated_targetList_codec);
|
|
if (ChatType != global::EggLink.DanhengServer.Proto.ChatType.None) {
|
|
size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) ChatType);
|
|
}
|
|
if (MessageType != global::EggLink.DanhengServer.Proto.MsgType.None) {
|
|
size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) MessageType);
|
|
}
|
|
if (oHINLDBELBA_ != null) {
|
|
size += 1 + pb::CodedOutputStream.ComputeMessageSize(OHINLDBELBA);
|
|
}
|
|
if (_unknownFields != null) {
|
|
size += _unknownFields.CalculateSize();
|
|
}
|
|
return size;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public void MergeFrom(SendMsgCsReq other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
if (other.ExtraId != 0) {
|
|
ExtraId = other.ExtraId;
|
|
}
|
|
if (other.MessageText.Length != 0) {
|
|
MessageText = other.MessageText;
|
|
}
|
|
targetList_.Add(other.targetList_);
|
|
if (other.ChatType != global::EggLink.DanhengServer.Proto.ChatType.None) {
|
|
ChatType = other.ChatType;
|
|
}
|
|
if (other.MessageType != global::EggLink.DanhengServer.Proto.MsgType.None) {
|
|
MessageType = other.MessageType;
|
|
}
|
|
if (other.oHINLDBELBA_ != null) {
|
|
if (oHINLDBELBA_ == null) {
|
|
OHINLDBELBA = new global::EggLink.DanhengServer.Proto.MNMEBDFAJJP();
|
|
}
|
|
OHINLDBELBA.MergeFrom(other.OHINLDBELBA);
|
|
}
|
|
_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: {
|
|
ChatType = (global::EggLink.DanhengServer.Proto.ChatType) input.ReadEnum();
|
|
break;
|
|
}
|
|
case 24: {
|
|
MessageType = (global::EggLink.DanhengServer.Proto.MsgType) input.ReadEnum();
|
|
break;
|
|
}
|
|
case 50:
|
|
case 48: {
|
|
targetList_.AddEntriesFrom(input, _repeated_targetList_codec);
|
|
break;
|
|
}
|
|
case 58: {
|
|
if (oHINLDBELBA_ == null) {
|
|
OHINLDBELBA = new global::EggLink.DanhengServer.Proto.MNMEBDFAJJP();
|
|
}
|
|
input.ReadMessage(OHINLDBELBA);
|
|
break;
|
|
}
|
|
case 66: {
|
|
MessageText = input.ReadString();
|
|
break;
|
|
}
|
|
case 88: {
|
|
ExtraId = 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: {
|
|
ChatType = (global::EggLink.DanhengServer.Proto.ChatType) input.ReadEnum();
|
|
break;
|
|
}
|
|
case 24: {
|
|
MessageType = (global::EggLink.DanhengServer.Proto.MsgType) input.ReadEnum();
|
|
break;
|
|
}
|
|
case 50:
|
|
case 48: {
|
|
targetList_.AddEntriesFrom(ref input, _repeated_targetList_codec);
|
|
break;
|
|
}
|
|
case 58: {
|
|
if (oHINLDBELBA_ == null) {
|
|
OHINLDBELBA = new global::EggLink.DanhengServer.Proto.MNMEBDFAJJP();
|
|
}
|
|
input.ReadMessage(OHINLDBELBA);
|
|
break;
|
|
}
|
|
case 66: {
|
|
MessageText = input.ReadString();
|
|
break;
|
|
}
|
|
case 88: {
|
|
ExtraId = input.ReadUInt32();
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
}
|
|
|
|
#endregion Designer generated code
|