mirror of
https://github.com/raphaeIl/Novaria.git
synced 2025-12-12 14:34:38 +01:00
447 lines
16 KiB
C#
447 lines
16 KiB
C#
// <auto-generated>
|
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
// source: infinity_tower_settle.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 infinity_tower_settle.proto</summary>
|
|
public static partial class InfinityTowerSettleReflection {
|
|
|
|
#region Descriptor
|
|
/// <summary>File descriptor for infinity_tower_settle.proto</summary>
|
|
public static pbr::FileDescriptor Descriptor {
|
|
get { return descriptor; }
|
|
}
|
|
private static pbr::FileDescriptor descriptor;
|
|
|
|
static InfinityTowerSettleReflection() {
|
|
byte[] descriptorData = global::System.Convert.FromBase64String(
|
|
string.Concat(
|
|
"ChtpbmZpbml0eV90b3dlcl9zZXR0bGUucHJvdG8SBXByb3RvGgxwdWJsaWMu",
|
|
"cHJvdG8imAIKF0luZmluaXR5VG93ZXJTZXR0bGVSZXNwEhMKC05leHRMZXZl",
|
|
"bElkGAEgASgNEhwKBFNob3cYAiADKAsyDi5wcm90by5JdGVtVHBsEiEKBkNo",
|
|
"YW5nZRgDIAEoCzIRLnByb3RvLkNoYW5nZUluZm8SEwoLQm91bnR5TGV2ZWwY",
|
|
"BiABKA0SNAoFVmFsdWUYByABKA4yJS5wcm90by5JbmZpbml0eVRvd2VyU2V0",
|
|
"dGxlUmVzcC5SZWFzb24SFAoLTmV4dFBhY2thZ2UY/w8gASgMIkYKBlJlYXNv",
|
|
"bhIHCgNOaWwQABIMCghQcmVMZXZlbBABEg4KCldvcmxkQ2xhc3MQAhIJCgVC",
|
|
"dWlsZBADEgoKBk5vT3BlbhAEUABiBnByb3RvMw=="));
|
|
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.InfinityTowerSettleResp), global::Proto.InfinityTowerSettleResp.Parser, new[]{ "NextLevelId", "Show", "Change", "BountyLevel", "Value", "NextPackage" }, null, new[]{ typeof(global::Proto.InfinityTowerSettleResp.Types.Reason) }, null, null)
|
|
}));
|
|
}
|
|
#endregion
|
|
|
|
}
|
|
#region Messages
|
|
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
|
public sealed partial class InfinityTowerSettleResp : pb::IMessage<InfinityTowerSettleResp>
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
, pb::IBufferMessage
|
|
#endif
|
|
{
|
|
private static readonly pb::MessageParser<InfinityTowerSettleResp> _parser = new pb::MessageParser<InfinityTowerSettleResp>(() => new InfinityTowerSettleResp());
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pb::MessageParser<InfinityTowerSettleResp> Parser { get { return _parser; } }
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pbr::MessageDescriptor Descriptor {
|
|
get { return global::Proto.InfinityTowerSettleReflection.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 InfinityTowerSettleResp() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public InfinityTowerSettleResp(InfinityTowerSettleResp other) : this() {
|
|
nextLevelId_ = other.nextLevelId_;
|
|
show_ = other.show_.Clone();
|
|
change_ = other.change_ != null ? other.change_.Clone() : null;
|
|
bountyLevel_ = other.bountyLevel_;
|
|
value_ = other.value_;
|
|
nextPackage_ = other.nextPackage_;
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public InfinityTowerSettleResp Clone() {
|
|
return new InfinityTowerSettleResp(this);
|
|
}
|
|
|
|
/// <summary>Field number for the "NextLevelId" field.</summary>
|
|
public const int NextLevelIdFieldNumber = 1;
|
|
private uint nextLevelId_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint NextLevelId {
|
|
get { return nextLevelId_; }
|
|
set {
|
|
nextLevelId_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "Show" field.</summary>
|
|
public const int ShowFieldNumber = 2;
|
|
private static readonly pb::FieldCodec<global::Proto.ItemTpl> _repeated_show_codec
|
|
= pb::FieldCodec.ForMessage(18, global::Proto.ItemTpl.Parser);
|
|
private readonly pbc::RepeatedField<global::Proto.ItemTpl> show_ = new pbc::RepeatedField<global::Proto.ItemTpl>();
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public pbc::RepeatedField<global::Proto.ItemTpl> Show {
|
|
get { return show_; }
|
|
}
|
|
|
|
/// <summary>Field number for the "Change" field.</summary>
|
|
public const int ChangeFieldNumber = 3;
|
|
private global::Proto.ChangeInfo change_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public global::Proto.ChangeInfo Change {
|
|
get { return change_; }
|
|
set {
|
|
change_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "BountyLevel" field.</summary>
|
|
public const int BountyLevelFieldNumber = 6;
|
|
private uint bountyLevel_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint BountyLevel {
|
|
get { return bountyLevel_; }
|
|
set {
|
|
bountyLevel_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "Value" field.</summary>
|
|
public const int ValueFieldNumber = 7;
|
|
private global::Proto.InfinityTowerSettleResp.Types.Reason value_ = global::Proto.InfinityTowerSettleResp.Types.Reason.Nil;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public global::Proto.InfinityTowerSettleResp.Types.Reason Value {
|
|
get { return value_; }
|
|
set {
|
|
value_ = 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 InfinityTowerSettleResp);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool Equals(InfinityTowerSettleResp other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
if (NextLevelId != other.NextLevelId) return false;
|
|
if(!show_.Equals(other.show_)) return false;
|
|
if (!object.Equals(Change, other.Change)) return false;
|
|
if (BountyLevel != other.BountyLevel) return false;
|
|
if (Value != other.Value) 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 (NextLevelId != 0) hash ^= NextLevelId.GetHashCode();
|
|
hash ^= show_.GetHashCode();
|
|
if (change_ != null) hash ^= Change.GetHashCode();
|
|
if (BountyLevel != 0) hash ^= BountyLevel.GetHashCode();
|
|
if (Value != global::Proto.InfinityTowerSettleResp.Types.Reason.Nil) hash ^= Value.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 (NextLevelId != 0) {
|
|
output.WriteRawTag(8);
|
|
output.WriteUInt32(NextLevelId);
|
|
}
|
|
show_.WriteTo(output, _repeated_show_codec);
|
|
if (change_ != null) {
|
|
output.WriteRawTag(26);
|
|
output.WriteMessage(Change);
|
|
}
|
|
if (BountyLevel != 0) {
|
|
output.WriteRawTag(48);
|
|
output.WriteUInt32(BountyLevel);
|
|
}
|
|
if (Value != global::Proto.InfinityTowerSettleResp.Types.Reason.Nil) {
|
|
output.WriteRawTag(56);
|
|
output.WriteEnum((int) Value);
|
|
}
|
|
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 (NextLevelId != 0) {
|
|
output.WriteRawTag(8);
|
|
output.WriteUInt32(NextLevelId);
|
|
}
|
|
show_.WriteTo(ref output, _repeated_show_codec);
|
|
if (change_ != null) {
|
|
output.WriteRawTag(26);
|
|
output.WriteMessage(Change);
|
|
}
|
|
if (BountyLevel != 0) {
|
|
output.WriteRawTag(48);
|
|
output.WriteUInt32(BountyLevel);
|
|
}
|
|
if (Value != global::Proto.InfinityTowerSettleResp.Types.Reason.Nil) {
|
|
output.WriteRawTag(56);
|
|
output.WriteEnum((int) Value);
|
|
}
|
|
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 (NextLevelId != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(NextLevelId);
|
|
}
|
|
size += show_.CalculateSize(_repeated_show_codec);
|
|
if (change_ != null) {
|
|
size += 1 + pb::CodedOutputStream.ComputeMessageSize(Change);
|
|
}
|
|
if (BountyLevel != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(BountyLevel);
|
|
}
|
|
if (Value != global::Proto.InfinityTowerSettleResp.Types.Reason.Nil) {
|
|
size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Value);
|
|
}
|
|
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(InfinityTowerSettleResp other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
if (other.NextLevelId != 0) {
|
|
NextLevelId = other.NextLevelId;
|
|
}
|
|
show_.Add(other.show_);
|
|
if (other.change_ != null) {
|
|
if (change_ == null) {
|
|
Change = new global::Proto.ChangeInfo();
|
|
}
|
|
Change.MergeFrom(other.Change);
|
|
}
|
|
if (other.BountyLevel != 0) {
|
|
BountyLevel = other.BountyLevel;
|
|
}
|
|
if (other.Value != global::Proto.InfinityTowerSettleResp.Types.Reason.Nil) {
|
|
Value = other.Value;
|
|
}
|
|
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: {
|
|
NextLevelId = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 18: {
|
|
show_.AddEntriesFrom(input, _repeated_show_codec);
|
|
break;
|
|
}
|
|
case 26: {
|
|
if (change_ == null) {
|
|
Change = new global::Proto.ChangeInfo();
|
|
}
|
|
input.ReadMessage(Change);
|
|
break;
|
|
}
|
|
case 48: {
|
|
BountyLevel = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 56: {
|
|
Value = (global::Proto.InfinityTowerSettleResp.Types.Reason) input.ReadEnum();
|
|
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: {
|
|
NextLevelId = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 18: {
|
|
show_.AddEntriesFrom(ref input, _repeated_show_codec);
|
|
break;
|
|
}
|
|
case 26: {
|
|
if (change_ == null) {
|
|
Change = new global::Proto.ChangeInfo();
|
|
}
|
|
input.ReadMessage(Change);
|
|
break;
|
|
}
|
|
case 48: {
|
|
BountyLevel = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 56: {
|
|
Value = (global::Proto.InfinityTowerSettleResp.Types.Reason) input.ReadEnum();
|
|
break;
|
|
}
|
|
case 16378: {
|
|
NextPackage = input.ReadBytes();
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
|
|
#region Nested types
|
|
/// <summary>Container for nested types declared in the InfinityTowerSettleResp message type.</summary>
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static partial class Types {
|
|
public enum Reason {
|
|
[pbr::OriginalName("Nil")] Nil = 0,
|
|
[pbr::OriginalName("PreLevel")] PreLevel = 1,
|
|
[pbr::OriginalName("WorldClass")] WorldClass = 2,
|
|
[pbr::OriginalName("Build")] Build = 3,
|
|
[pbr::OriginalName("NoOpen")] NoOpen = 4,
|
|
}
|
|
|
|
}
|
|
#endregion
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
}
|
|
|
|
#endregion Designer generated code
|