mirror of
https://github.com/raphaeIl/Novaria.git
synced 2025-12-12 14:34:38 +01:00
900 lines
32 KiB
C#
900 lines
32 KiB
C#
// <auto-generated>
|
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
// source: story_sett.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 Proto {
|
|
|
|
/// <summary>Holder for reflection information generated from story_sett.proto</summary>
|
|
public static partial class StorySettReflection {
|
|
|
|
#region Descriptor
|
|
/// <summary>File descriptor for story_sett.proto</summary>
|
|
public static pbr::FileDescriptor Descriptor {
|
|
get { return descriptor; }
|
|
}
|
|
private static pbr::FileDescriptor descriptor;
|
|
|
|
static StorySettReflection() {
|
|
byte[] descriptorData = global::System.Convert.FromBase64String(
|
|
string.Concat(
|
|
"ChBzdG9yeV9zZXR0LnByb3RvEgVwcm90bxoMcHVibGljLnByb3RvIn4KC1N0",
|
|
"b3J5U2V0dGxlEgsKA0lkeBgBIAEoDRIiCgVNYWpvchgCIAMoCzITLnByb3Rv",
|
|
"LlN0b3J5T3B0aW9ucxIoCgtQZXJzb25hbGl0eRgDIAMoCzITLnByb3RvLlN0",
|
|
"b3J5T3B0aW9ucxIUCgtOZXh0UGFja2FnZRj/DyABKAwiWwoOU3RvcnlTZXR0",
|
|
"bGVSZXESIAoETGlzdBgBIAMoCzISLnByb3RvLlN0b3J5U2V0dGxlEhEKCUV2",
|
|
"aWRlbmNlcxgPIAMoDRIUCgtOZXh0UGFja2FnZRj/DyABKAwiUwoMU3RvcnlP",
|
|
"cHRpb25zEg0KBUdyb3VwGAEgASgNEg4KBkNob2ljZRgCIAEoDRIOCgZGYWN0",
|
|
"b3IYAyABKA0SFAoLTmV4dFBhY2thZ2UY/w8gASgMUABiBnByb3RvMw=="));
|
|
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
|
new pbr::FileDescriptor[] { global::Proto.PublicReflection.Descriptor, },
|
|
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::Proto.StorySettle), global::Proto.StorySettle.Parser, new[]{ "Idx", "Major", "Personality", "NextPackage" }, null, null, null, null),
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::Proto.StorySettleReq), global::Proto.StorySettleReq.Parser, new[]{ "List", "Evidences", "NextPackage" }, null, null, null, null),
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::Proto.StoryOptions), global::Proto.StoryOptions.Parser, new[]{ "Group", "Choice", "Factor", "NextPackage" }, null, null, null, null)
|
|
}));
|
|
}
|
|
#endregion
|
|
|
|
}
|
|
#region Messages
|
|
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
|
public sealed partial class StorySettle : pb::IMessage<StorySettle>
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
, pb::IBufferMessage
|
|
#endif
|
|
{
|
|
private static readonly pb::MessageParser<StorySettle> _parser = new pb::MessageParser<StorySettle>(() => new StorySettle());
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pb::MessageParser<StorySettle> Parser { get { return _parser; } }
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pbr::MessageDescriptor Descriptor {
|
|
get { return global::Proto.StorySettReflection.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 StorySettle() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public StorySettle(StorySettle other) : this() {
|
|
idx_ = other.idx_;
|
|
major_ = other.major_.Clone();
|
|
personality_ = other.personality_.Clone();
|
|
nextPackage_ = other.nextPackage_;
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public StorySettle Clone() {
|
|
return new StorySettle(this);
|
|
}
|
|
|
|
/// <summary>Field number for the "Idx" field.</summary>
|
|
public const int IdxFieldNumber = 1;
|
|
private uint idx_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint Idx {
|
|
get { return idx_; }
|
|
set {
|
|
idx_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "Major" field.</summary>
|
|
public const int MajorFieldNumber = 2;
|
|
private static readonly pb::FieldCodec<global::Proto.StoryOptions> _repeated_major_codec
|
|
= pb::FieldCodec.ForMessage(18, global::Proto.StoryOptions.Parser);
|
|
private readonly pbc::RepeatedField<global::Proto.StoryOptions> major_ = new pbc::RepeatedField<global::Proto.StoryOptions>();
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public pbc::RepeatedField<global::Proto.StoryOptions> Major {
|
|
get { return major_; }
|
|
}
|
|
|
|
/// <summary>Field number for the "Personality" field.</summary>
|
|
public const int PersonalityFieldNumber = 3;
|
|
private static readonly pb::FieldCodec<global::Proto.StoryOptions> _repeated_personality_codec
|
|
= pb::FieldCodec.ForMessage(26, global::Proto.StoryOptions.Parser);
|
|
private readonly pbc::RepeatedField<global::Proto.StoryOptions> personality_ = new pbc::RepeatedField<global::Proto.StoryOptions>();
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public pbc::RepeatedField<global::Proto.StoryOptions> Personality {
|
|
get { return personality_; }
|
|
}
|
|
|
|
/// <summary>Field number for the "NextPackage" field.</summary>
|
|
public const int NextPackageFieldNumber = 2047;
|
|
private pb::ByteString nextPackage_ = pb::ByteString.Empty;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public pb::ByteString NextPackage {
|
|
get { return nextPackage_; }
|
|
set {
|
|
nextPackage_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public override bool Equals(object other) {
|
|
return Equals(other as StorySettle);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool Equals(StorySettle other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
if (Idx != other.Idx) return false;
|
|
if(!major_.Equals(other.major_)) return false;
|
|
if(!personality_.Equals(other.personality_)) return false;
|
|
if (NextPackage != other.NextPackage) 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 (Idx != 0) hash ^= Idx.GetHashCode();
|
|
hash ^= major_.GetHashCode();
|
|
hash ^= personality_.GetHashCode();
|
|
if (NextPackage.Length != 0) hash ^= NextPackage.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 (Idx != 0) {
|
|
output.WriteRawTag(8);
|
|
output.WriteUInt32(Idx);
|
|
}
|
|
major_.WriteTo(output, _repeated_major_codec);
|
|
personality_.WriteTo(output, _repeated_personality_codec);
|
|
if (NextPackage.Length != 0) {
|
|
output.WriteRawTag(250, 127);
|
|
output.WriteBytes(NextPackage);
|
|
}
|
|
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 (Idx != 0) {
|
|
output.WriteRawTag(8);
|
|
output.WriteUInt32(Idx);
|
|
}
|
|
major_.WriteTo(ref output, _repeated_major_codec);
|
|
personality_.WriteTo(ref output, _repeated_personality_codec);
|
|
if (NextPackage.Length != 0) {
|
|
output.WriteRawTag(250, 127);
|
|
output.WriteBytes(NextPackage);
|
|
}
|
|
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 (Idx != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Idx);
|
|
}
|
|
size += major_.CalculateSize(_repeated_major_codec);
|
|
size += personality_.CalculateSize(_repeated_personality_codec);
|
|
if (NextPackage.Length != 0) {
|
|
size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage);
|
|
}
|
|
if (_unknownFields != null) {
|
|
size += _unknownFields.CalculateSize();
|
|
}
|
|
return size;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public void MergeFrom(StorySettle other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
if (other.Idx != 0) {
|
|
Idx = other.Idx;
|
|
}
|
|
major_.Add(other.major_);
|
|
personality_.Add(other.personality_);
|
|
if (other.NextPackage.Length != 0) {
|
|
NextPackage = other.NextPackage;
|
|
}
|
|
_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) {
|
|
if ((tag & 7) == 4) {
|
|
// Abort on any end group tag.
|
|
return;
|
|
}
|
|
switch(tag) {
|
|
default:
|
|
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
|
|
break;
|
|
case 8: {
|
|
Idx = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 18: {
|
|
major_.AddEntriesFrom(input, _repeated_major_codec);
|
|
break;
|
|
}
|
|
case 26: {
|
|
personality_.AddEntriesFrom(input, _repeated_personality_codec);
|
|
break;
|
|
}
|
|
case 16378: {
|
|
NextPackage = input.ReadBytes();
|
|
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) {
|
|
if ((tag & 7) == 4) {
|
|
// Abort on any end group tag.
|
|
return;
|
|
}
|
|
switch(tag) {
|
|
default:
|
|
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
|
|
break;
|
|
case 8: {
|
|
Idx = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 18: {
|
|
major_.AddEntriesFrom(ref input, _repeated_major_codec);
|
|
break;
|
|
}
|
|
case 26: {
|
|
personality_.AddEntriesFrom(ref input, _repeated_personality_codec);
|
|
break;
|
|
}
|
|
case 16378: {
|
|
NextPackage = input.ReadBytes();
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
|
public sealed partial class StorySettleReq : pb::IMessage<StorySettleReq>
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
, pb::IBufferMessage
|
|
#endif
|
|
{
|
|
private static readonly pb::MessageParser<StorySettleReq> _parser = new pb::MessageParser<StorySettleReq>(() => new StorySettleReq());
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pb::MessageParser<StorySettleReq> Parser { get { return _parser; } }
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pbr::MessageDescriptor Descriptor {
|
|
get { return global::Proto.StorySettReflection.Descriptor.MessageTypes[1]; }
|
|
}
|
|
|
|
[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 StorySettleReq() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public StorySettleReq(StorySettleReq other) : this() {
|
|
list_ = other.list_.Clone();
|
|
evidences_ = other.evidences_.Clone();
|
|
nextPackage_ = other.nextPackage_;
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public StorySettleReq Clone() {
|
|
return new StorySettleReq(this);
|
|
}
|
|
|
|
/// <summary>Field number for the "List" field.</summary>
|
|
public const int ListFieldNumber = 1;
|
|
private static readonly pb::FieldCodec<global::Proto.StorySettle> _repeated_list_codec
|
|
= pb::FieldCodec.ForMessage(10, global::Proto.StorySettle.Parser);
|
|
private readonly pbc::RepeatedField<global::Proto.StorySettle> list_ = new pbc::RepeatedField<global::Proto.StorySettle>();
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public pbc::RepeatedField<global::Proto.StorySettle> List {
|
|
get { return list_; }
|
|
}
|
|
|
|
/// <summary>Field number for the "Evidences" field.</summary>
|
|
public const int EvidencesFieldNumber = 15;
|
|
private static readonly pb::FieldCodec<uint> _repeated_evidences_codec
|
|
= pb::FieldCodec.ForUInt32(122);
|
|
private readonly pbc::RepeatedField<uint> evidences_ = new pbc::RepeatedField<uint>();
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public pbc::RepeatedField<uint> Evidences {
|
|
get { return evidences_; }
|
|
}
|
|
|
|
/// <summary>Field number for the "NextPackage" field.</summary>
|
|
public const int NextPackageFieldNumber = 2047;
|
|
private pb::ByteString nextPackage_ = pb::ByteString.Empty;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public pb::ByteString NextPackage {
|
|
get { return nextPackage_; }
|
|
set {
|
|
nextPackage_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public override bool Equals(object other) {
|
|
return Equals(other as StorySettleReq);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool Equals(StorySettleReq other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
if(!list_.Equals(other.list_)) return false;
|
|
if(!evidences_.Equals(other.evidences_)) return false;
|
|
if (NextPackage != other.NextPackage) 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;
|
|
hash ^= list_.GetHashCode();
|
|
hash ^= evidences_.GetHashCode();
|
|
if (NextPackage.Length != 0) hash ^= NextPackage.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
|
|
list_.WriteTo(output, _repeated_list_codec);
|
|
evidences_.WriteTo(output, _repeated_evidences_codec);
|
|
if (NextPackage.Length != 0) {
|
|
output.WriteRawTag(250, 127);
|
|
output.WriteBytes(NextPackage);
|
|
}
|
|
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) {
|
|
list_.WriteTo(ref output, _repeated_list_codec);
|
|
evidences_.WriteTo(ref output, _repeated_evidences_codec);
|
|
if (NextPackage.Length != 0) {
|
|
output.WriteRawTag(250, 127);
|
|
output.WriteBytes(NextPackage);
|
|
}
|
|
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;
|
|
size += list_.CalculateSize(_repeated_list_codec);
|
|
size += evidences_.CalculateSize(_repeated_evidences_codec);
|
|
if (NextPackage.Length != 0) {
|
|
size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage);
|
|
}
|
|
if (_unknownFields != null) {
|
|
size += _unknownFields.CalculateSize();
|
|
}
|
|
return size;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public void MergeFrom(StorySettleReq other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
list_.Add(other.list_);
|
|
evidences_.Add(other.evidences_);
|
|
if (other.NextPackage.Length != 0) {
|
|
NextPackage = other.NextPackage;
|
|
}
|
|
_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) {
|
|
if ((tag & 7) == 4) {
|
|
// Abort on any end group tag.
|
|
return;
|
|
}
|
|
switch(tag) {
|
|
default:
|
|
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
|
|
break;
|
|
case 10: {
|
|
list_.AddEntriesFrom(input, _repeated_list_codec);
|
|
break;
|
|
}
|
|
case 122:
|
|
case 120: {
|
|
evidences_.AddEntriesFrom(input, _repeated_evidences_codec);
|
|
break;
|
|
}
|
|
case 16378: {
|
|
NextPackage = input.ReadBytes();
|
|
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) {
|
|
if ((tag & 7) == 4) {
|
|
// Abort on any end group tag.
|
|
return;
|
|
}
|
|
switch(tag) {
|
|
default:
|
|
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
|
|
break;
|
|
case 10: {
|
|
list_.AddEntriesFrom(ref input, _repeated_list_codec);
|
|
break;
|
|
}
|
|
case 122:
|
|
case 120: {
|
|
evidences_.AddEntriesFrom(ref input, _repeated_evidences_codec);
|
|
break;
|
|
}
|
|
case 16378: {
|
|
NextPackage = input.ReadBytes();
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
|
public sealed partial class StoryOptions : pb::IMessage<StoryOptions>
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
, pb::IBufferMessage
|
|
#endif
|
|
{
|
|
private static readonly pb::MessageParser<StoryOptions> _parser = new pb::MessageParser<StoryOptions>(() => new StoryOptions());
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pb::MessageParser<StoryOptions> Parser { get { return _parser; } }
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pbr::MessageDescriptor Descriptor {
|
|
get { return global::Proto.StorySettReflection.Descriptor.MessageTypes[2]; }
|
|
}
|
|
|
|
[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 StoryOptions() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public StoryOptions(StoryOptions other) : this() {
|
|
group_ = other.group_;
|
|
choice_ = other.choice_;
|
|
factor_ = other.factor_;
|
|
nextPackage_ = other.nextPackage_;
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public StoryOptions Clone() {
|
|
return new StoryOptions(this);
|
|
}
|
|
|
|
/// <summary>Field number for the "Group" field.</summary>
|
|
public const int GroupFieldNumber = 1;
|
|
private uint group_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint Group {
|
|
get { return group_; }
|
|
set {
|
|
group_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "Choice" field.</summary>
|
|
public const int ChoiceFieldNumber = 2;
|
|
private uint choice_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint Choice {
|
|
get { return choice_; }
|
|
set {
|
|
choice_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "Factor" field.</summary>
|
|
public const int FactorFieldNumber = 3;
|
|
private uint factor_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint Factor {
|
|
get { return factor_; }
|
|
set {
|
|
factor_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "NextPackage" field.</summary>
|
|
public const int NextPackageFieldNumber = 2047;
|
|
private pb::ByteString nextPackage_ = pb::ByteString.Empty;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public pb::ByteString NextPackage {
|
|
get { return nextPackage_; }
|
|
set {
|
|
nextPackage_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public override bool Equals(object other) {
|
|
return Equals(other as StoryOptions);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool Equals(StoryOptions other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
if (Group != other.Group) return false;
|
|
if (Choice != other.Choice) return false;
|
|
if (Factor != other.Factor) return false;
|
|
if (NextPackage != other.NextPackage) 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 (Group != 0) hash ^= Group.GetHashCode();
|
|
if (Choice != 0) hash ^= Choice.GetHashCode();
|
|
if (Factor != 0) hash ^= Factor.GetHashCode();
|
|
if (NextPackage.Length != 0) hash ^= NextPackage.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 (Group != 0) {
|
|
output.WriteRawTag(8);
|
|
output.WriteUInt32(Group);
|
|
}
|
|
if (Choice != 0) {
|
|
output.WriteRawTag(16);
|
|
output.WriteUInt32(Choice);
|
|
}
|
|
if (Factor != 0) {
|
|
output.WriteRawTag(24);
|
|
output.WriteUInt32(Factor);
|
|
}
|
|
if (NextPackage.Length != 0) {
|
|
output.WriteRawTag(250, 127);
|
|
output.WriteBytes(NextPackage);
|
|
}
|
|
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 (Group != 0) {
|
|
output.WriteRawTag(8);
|
|
output.WriteUInt32(Group);
|
|
}
|
|
if (Choice != 0) {
|
|
output.WriteRawTag(16);
|
|
output.WriteUInt32(Choice);
|
|
}
|
|
if (Factor != 0) {
|
|
output.WriteRawTag(24);
|
|
output.WriteUInt32(Factor);
|
|
}
|
|
if (NextPackage.Length != 0) {
|
|
output.WriteRawTag(250, 127);
|
|
output.WriteBytes(NextPackage);
|
|
}
|
|
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 (Group != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Group);
|
|
}
|
|
if (Choice != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Choice);
|
|
}
|
|
if (Factor != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Factor);
|
|
}
|
|
if (NextPackage.Length != 0) {
|
|
size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage);
|
|
}
|
|
if (_unknownFields != null) {
|
|
size += _unknownFields.CalculateSize();
|
|
}
|
|
return size;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public void MergeFrom(StoryOptions other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
if (other.Group != 0) {
|
|
Group = other.Group;
|
|
}
|
|
if (other.Choice != 0) {
|
|
Choice = other.Choice;
|
|
}
|
|
if (other.Factor != 0) {
|
|
Factor = other.Factor;
|
|
}
|
|
if (other.NextPackage.Length != 0) {
|
|
NextPackage = other.NextPackage;
|
|
}
|
|
_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) {
|
|
if ((tag & 7) == 4) {
|
|
// Abort on any end group tag.
|
|
return;
|
|
}
|
|
switch(tag) {
|
|
default:
|
|
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
|
|
break;
|
|
case 8: {
|
|
Group = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 16: {
|
|
Choice = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 24: {
|
|
Factor = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 16378: {
|
|
NextPackage = input.ReadBytes();
|
|
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) {
|
|
if ((tag & 7) == 4) {
|
|
// Abort on any end group tag.
|
|
return;
|
|
}
|
|
switch(tag) {
|
|
default:
|
|
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
|
|
break;
|
|
case 8: {
|
|
Group = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 16: {
|
|
Choice = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 24: {
|
|
Factor = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 16378: {
|
|
NextPackage = input.ReadBytes();
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
}
|
|
|
|
#endregion Designer generated code
|