Files
DanhengServer-OpenSource/Proto/ChangeStoryLineFinishScNotify.cs

312 lines
12 KiB
C#

// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: ChangeStoryLineFinishScNotify.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 ChangeStoryLineFinishScNotify.proto</summary>
public static partial class ChangeStoryLineFinishScNotifyReflection {
#region Descriptor
/// <summary>File descriptor for ChangeStoryLineFinishScNotify.proto</summary>
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static ChangeStoryLineFinishScNotifyReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"CiNDaGFuZ2VTdG9yeUxpbmVGaW5pc2hTY05vdGlmeS5wcm90bxobQ2hhbmdl",
"U3RvcnlMaW5lQWN0aW9uLnByb3RvIncKHUNoYW5nZVN0b3J5TGluZUZpbmlz",
"aFNjTm90aWZ5EhMKC0JLRkVKS0VFQUhQGAUgASgNEhkKEWN1cl9zdG9yeV9s",
"aW5lX2lkGAwgASgNEiYKBmFjdGlvbhgPIAEoDjIWLkNoYW5nZVN0b3J5TGlu",
"ZUFjdGlvbkIeqgIbRWdnTGluay5EYW5oZW5nU2VydmVyLlByb3RvYgZwcm90",
"bzM="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.ChangeStoryLineActionReflection.Descriptor, },
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.ChangeStoryLineFinishScNotify), global::EggLink.DanhengServer.Proto.ChangeStoryLineFinishScNotify.Parser, new[]{ "BKFEJKEEAHP", "CurStoryLineId", "Action" }, null, null, null, null)
}));
}
#endregion
}
#region Messages
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class ChangeStoryLineFinishScNotify : pb::IMessage<ChangeStoryLineFinishScNotify>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<ChangeStoryLineFinishScNotify> _parser = new pb::MessageParser<ChangeStoryLineFinishScNotify>(() => new ChangeStoryLineFinishScNotify());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<ChangeStoryLineFinishScNotify> 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.ChangeStoryLineFinishScNotifyReflection.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 ChangeStoryLineFinishScNotify() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public ChangeStoryLineFinishScNotify(ChangeStoryLineFinishScNotify other) : this() {
bKFEJKEEAHP_ = other.bKFEJKEEAHP_;
curStoryLineId_ = other.curStoryLineId_;
action_ = other.action_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public ChangeStoryLineFinishScNotify Clone() {
return new ChangeStoryLineFinishScNotify(this);
}
/// <summary>Field number for the "BKFEJKEEAHP" field.</summary>
public const int BKFEJKEEAHPFieldNumber = 5;
private uint bKFEJKEEAHP_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint BKFEJKEEAHP {
get { return bKFEJKEEAHP_; }
set {
bKFEJKEEAHP_ = value;
}
}
/// <summary>Field number for the "cur_story_line_id" field.</summary>
public const int CurStoryLineIdFieldNumber = 12;
private uint curStoryLineId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint CurStoryLineId {
get { return curStoryLineId_; }
set {
curStoryLineId_ = value;
}
}
/// <summary>Field number for the "action" field.</summary>
public const int ActionFieldNumber = 15;
private global::EggLink.DanhengServer.Proto.ChangeStoryLineAction action_ = global::EggLink.DanhengServer.Proto.ChangeStoryLineAction.None;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::EggLink.DanhengServer.Proto.ChangeStoryLineAction Action {
get { return action_; }
set {
action_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as ChangeStoryLineFinishScNotify);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(ChangeStoryLineFinishScNotify other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (BKFEJKEEAHP != other.BKFEJKEEAHP) return false;
if (CurStoryLineId != other.CurStoryLineId) return false;
if (Action != other.Action) 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 (BKFEJKEEAHP != 0) hash ^= BKFEJKEEAHP.GetHashCode();
if (CurStoryLineId != 0) hash ^= CurStoryLineId.GetHashCode();
if (Action != global::EggLink.DanhengServer.Proto.ChangeStoryLineAction.None) hash ^= Action.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 (BKFEJKEEAHP != 0) {
output.WriteRawTag(40);
output.WriteUInt32(BKFEJKEEAHP);
}
if (CurStoryLineId != 0) {
output.WriteRawTag(96);
output.WriteUInt32(CurStoryLineId);
}
if (Action != global::EggLink.DanhengServer.Proto.ChangeStoryLineAction.None) {
output.WriteRawTag(120);
output.WriteEnum((int) Action);
}
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 (BKFEJKEEAHP != 0) {
output.WriteRawTag(40);
output.WriteUInt32(BKFEJKEEAHP);
}
if (CurStoryLineId != 0) {
output.WriteRawTag(96);
output.WriteUInt32(CurStoryLineId);
}
if (Action != global::EggLink.DanhengServer.Proto.ChangeStoryLineAction.None) {
output.WriteRawTag(120);
output.WriteEnum((int) Action);
}
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 (BKFEJKEEAHP != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(BKFEJKEEAHP);
}
if (CurStoryLineId != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(CurStoryLineId);
}
if (Action != global::EggLink.DanhengServer.Proto.ChangeStoryLineAction.None) {
size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Action);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(ChangeStoryLineFinishScNotify other) {
if (other == null) {
return;
}
if (other.BKFEJKEEAHP != 0) {
BKFEJKEEAHP = other.BKFEJKEEAHP;
}
if (other.CurStoryLineId != 0) {
CurStoryLineId = other.CurStoryLineId;
}
if (other.Action != global::EggLink.DanhengServer.Proto.ChangeStoryLineAction.None) {
Action = other.Action;
}
_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 40: {
BKFEJKEEAHP = input.ReadUInt32();
break;
}
case 96: {
CurStoryLineId = input.ReadUInt32();
break;
}
case 120: {
Action = (global::EggLink.DanhengServer.Proto.ChangeStoryLineAction) input.ReadEnum();
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 40: {
BKFEJKEEAHP = input.ReadUInt32();
break;
}
case 96: {
CurStoryLineId = input.ReadUInt32();
break;
}
case 120: {
Action = (global::EggLink.DanhengServer.Proto.ChangeStoryLineAction) input.ReadEnum();
break;
}
}
}
}
#endif
}
#endregion
}
#endregion Designer generated code