mirror of
https://github.com/raphaeIl/Novaria.git
synced 2025-12-12 14:34:38 +01:00
1625 lines
59 KiB
C#
1625 lines
59 KiB
C#
// <auto-generated>
|
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
// source: vampire_survivor_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 vampire_survivor_settle.proto</summary>
|
|
public static partial class VampireSurvivorSettleReflection {
|
|
|
|
#region Descriptor
|
|
/// <summary>File descriptor for vampire_survivor_settle.proto</summary>
|
|
public static pbr::FileDescriptor Descriptor {
|
|
get { return descriptor; }
|
|
}
|
|
private static pbr::FileDescriptor descriptor;
|
|
|
|
static VampireSurvivorSettleReflection() {
|
|
byte[] descriptorData = global::System.Convert.FromBase64String(
|
|
string.Concat(
|
|
"Ch12YW1waXJlX3N1cnZpdm9yX3NldHRsZS5wcm90bxIFcHJvdG8aDHB1Ymxp",
|
|
"Yy5wcm90bxofdHJhdmVsZXJfZHVlbF9yYW5rX3VwbG9hZC5wcm90byKkAQoY",
|
|
"VmFtcGlyZVN1cnZpdm9yU2V0dGxlUmVxEhEKCUtpbGxDb3VudBgBIAMoDRIM",
|
|
"CgRUaW1lGAIgASgNEg4KBkRlZmVhdBgDIAEoCBIQCghDaGVja3N1bRgHIAEo",
|
|
"BBIvCgZTYW1wbGUYCCADKAsyHy5wcm90by5UcmF2ZWxlckR1ZWxCYXR0bGVT",
|
|
"YW1wbGUSFAoLTmV4dFBhY2thZ2UY/w8gASgMItgCChlWYW1waXJlU3Vydml2",
|
|
"b3JTZXR0bGVSZXNwEhQKC05leHRQYWNrYWdlGP8PIAEoDBI/CgdWaWN0b3J5",
|
|
"GAEgASgLMiwucHJvdG8uVmFtcGlyZVN1cnZpdm9yU2V0dGxlUmVzcC5WaWN0",
|
|
"b3J5RGF0YUgAEj0KBkRlZmVhdBgCIAEoCzIrLnByb3RvLlZhbXBpcmVTdXJ2",
|
|
"aXZvclNldHRsZVJlc3AuRGVmZWF0RGF0YUgAGnkKC1ZpY3RvcnlEYXRhEi0K",
|
|
"BUluZm9zGAEgAygLMh4ucHJvdG8uVmFtcGlyZVN1cnZpdm9yQXJlYUluZm8S",
|
|
"EgoKRmluYWxTY29yZRgCIAEoDRILCgNPbGQYAyABKA0SCwoDTmV3GAQgASgN",
|
|
"Eg0KBVRva2VuGAggASgJGiAKCkRlZmVhdERhdGESEgoKRmluYWxTY29yZRgB",
|
|
"IAEoDUIICgZSZXN1bHQidgoXVmFtcGlyZVN1cnZpdm9yQXJlYUluZm8SEQoJ",
|
|
"S2lsbENvdW50GAEgAygNEhEKCUtpbGxTY29yZRgCIAMoDRIQCghCb3NzVGlt",
|
|
"ZRgDIAEoDRINCgVTY29yZRgEIAEoDRIUCgtOZXh0UGFja2FnZRj/DyABKAxQ",
|
|
"AFABYgZwcm90bzM="));
|
|
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
|
new pbr::FileDescriptor[] { global::Proto.PublicReflection.Descriptor, global::Proto.TravelerDuelRankUploadReflection.Descriptor, },
|
|
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::Proto.VampireSurvivorSettleReq), global::Proto.VampireSurvivorSettleReq.Parser, new[]{ "KillCount", "Time", "Defeat", "Checksum", "Sample", "NextPackage" }, null, null, null, null),
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::Proto.VampireSurvivorSettleResp), global::Proto.VampireSurvivorSettleResp.Parser, new[]{ "NextPackage", "Victory", "Defeat" }, new[]{ "Result" }, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Proto.VampireSurvivorSettleResp.Types.VictoryData), global::Proto.VampireSurvivorSettleResp.Types.VictoryData.Parser, new[]{ "Infos", "FinalScore", "Old", "New", "Token" }, null, null, null, null),
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::Proto.VampireSurvivorSettleResp.Types.DefeatData), global::Proto.VampireSurvivorSettleResp.Types.DefeatData.Parser, new[]{ "FinalScore" }, null, null, null, null)}),
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::Proto.VampireSurvivorAreaInfo), global::Proto.VampireSurvivorAreaInfo.Parser, new[]{ "KillCount", "KillScore", "BossTime", "Score", "NextPackage" }, null, null, null, null)
|
|
}));
|
|
}
|
|
#endregion
|
|
|
|
}
|
|
#region Messages
|
|
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
|
public sealed partial class VampireSurvivorSettleReq : pb::IMessage<VampireSurvivorSettleReq>
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
, pb::IBufferMessage
|
|
#endif
|
|
{
|
|
private static readonly pb::MessageParser<VampireSurvivorSettleReq> _parser = new pb::MessageParser<VampireSurvivorSettleReq>(() => new VampireSurvivorSettleReq());
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pb::MessageParser<VampireSurvivorSettleReq> Parser { get { return _parser; } }
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pbr::MessageDescriptor Descriptor {
|
|
get { return global::Proto.VampireSurvivorSettleReflection.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 VampireSurvivorSettleReq() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public VampireSurvivorSettleReq(VampireSurvivorSettleReq other) : this() {
|
|
killCount_ = other.killCount_.Clone();
|
|
time_ = other.time_;
|
|
defeat_ = other.defeat_;
|
|
checksum_ = other.checksum_;
|
|
sample_ = other.sample_.Clone();
|
|
nextPackage_ = other.nextPackage_;
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public VampireSurvivorSettleReq Clone() {
|
|
return new VampireSurvivorSettleReq(this);
|
|
}
|
|
|
|
/// <summary>Field number for the "KillCount" field.</summary>
|
|
public const int KillCountFieldNumber = 1;
|
|
private static readonly pb::FieldCodec<uint> _repeated_killCount_codec
|
|
= pb::FieldCodec.ForUInt32(10);
|
|
private readonly pbc::RepeatedField<uint> killCount_ = new pbc::RepeatedField<uint>();
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public pbc::RepeatedField<uint> KillCount {
|
|
get { return killCount_; }
|
|
}
|
|
|
|
/// <summary>Field number for the "Time" field.</summary>
|
|
public const int TimeFieldNumber = 2;
|
|
private uint time_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint Time {
|
|
get { return time_; }
|
|
set {
|
|
time_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "Defeat" field.</summary>
|
|
public const int DefeatFieldNumber = 3;
|
|
private bool defeat_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool Defeat {
|
|
get { return defeat_; }
|
|
set {
|
|
defeat_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "Checksum" field.</summary>
|
|
public const int ChecksumFieldNumber = 7;
|
|
private ulong checksum_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public ulong Checksum {
|
|
get { return checksum_; }
|
|
set {
|
|
checksum_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "Sample" field.</summary>
|
|
public const int SampleFieldNumber = 8;
|
|
private static readonly pb::FieldCodec<global::Proto.TravelerDuelBattleSample> _repeated_sample_codec
|
|
= pb::FieldCodec.ForMessage(66, global::Proto.TravelerDuelBattleSample.Parser);
|
|
private readonly pbc::RepeatedField<global::Proto.TravelerDuelBattleSample> sample_ = new pbc::RepeatedField<global::Proto.TravelerDuelBattleSample>();
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public pbc::RepeatedField<global::Proto.TravelerDuelBattleSample> Sample {
|
|
get { return sample_; }
|
|
}
|
|
|
|
/// <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 VampireSurvivorSettleReq);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool Equals(VampireSurvivorSettleReq other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
if(!killCount_.Equals(other.killCount_)) return false;
|
|
if (Time != other.Time) return false;
|
|
if (Defeat != other.Defeat) return false;
|
|
if (Checksum != other.Checksum) return false;
|
|
if(!sample_.Equals(other.sample_)) 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 ^= killCount_.GetHashCode();
|
|
if (Time != 0) hash ^= Time.GetHashCode();
|
|
if (Defeat != false) hash ^= Defeat.GetHashCode();
|
|
if (Checksum != 0UL) hash ^= Checksum.GetHashCode();
|
|
hash ^= sample_.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
|
|
killCount_.WriteTo(output, _repeated_killCount_codec);
|
|
if (Time != 0) {
|
|
output.WriteRawTag(16);
|
|
output.WriteUInt32(Time);
|
|
}
|
|
if (Defeat != false) {
|
|
output.WriteRawTag(24);
|
|
output.WriteBool(Defeat);
|
|
}
|
|
if (Checksum != 0UL) {
|
|
output.WriteRawTag(56);
|
|
output.WriteUInt64(Checksum);
|
|
}
|
|
sample_.WriteTo(output, _repeated_sample_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) {
|
|
killCount_.WriteTo(ref output, _repeated_killCount_codec);
|
|
if (Time != 0) {
|
|
output.WriteRawTag(16);
|
|
output.WriteUInt32(Time);
|
|
}
|
|
if (Defeat != false) {
|
|
output.WriteRawTag(24);
|
|
output.WriteBool(Defeat);
|
|
}
|
|
if (Checksum != 0UL) {
|
|
output.WriteRawTag(56);
|
|
output.WriteUInt64(Checksum);
|
|
}
|
|
sample_.WriteTo(ref output, _repeated_sample_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 += killCount_.CalculateSize(_repeated_killCount_codec);
|
|
if (Time != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Time);
|
|
}
|
|
if (Defeat != false) {
|
|
size += 1 + 1;
|
|
}
|
|
if (Checksum != 0UL) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt64Size(Checksum);
|
|
}
|
|
size += sample_.CalculateSize(_repeated_sample_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(VampireSurvivorSettleReq other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
killCount_.Add(other.killCount_);
|
|
if (other.Time != 0) {
|
|
Time = other.Time;
|
|
}
|
|
if (other.Defeat != false) {
|
|
Defeat = other.Defeat;
|
|
}
|
|
if (other.Checksum != 0UL) {
|
|
Checksum = other.Checksum;
|
|
}
|
|
sample_.Add(other.sample_);
|
|
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:
|
|
case 8: {
|
|
killCount_.AddEntriesFrom(input, _repeated_killCount_codec);
|
|
break;
|
|
}
|
|
case 16: {
|
|
Time = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 24: {
|
|
Defeat = input.ReadBool();
|
|
break;
|
|
}
|
|
case 56: {
|
|
Checksum = input.ReadUInt64();
|
|
break;
|
|
}
|
|
case 66: {
|
|
sample_.AddEntriesFrom(input, _repeated_sample_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:
|
|
case 8: {
|
|
killCount_.AddEntriesFrom(ref input, _repeated_killCount_codec);
|
|
break;
|
|
}
|
|
case 16: {
|
|
Time = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 24: {
|
|
Defeat = input.ReadBool();
|
|
break;
|
|
}
|
|
case 56: {
|
|
Checksum = input.ReadUInt64();
|
|
break;
|
|
}
|
|
case 66: {
|
|
sample_.AddEntriesFrom(ref input, _repeated_sample_codec);
|
|
break;
|
|
}
|
|
case 16378: {
|
|
NextPackage = input.ReadBytes();
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
|
public sealed partial class VampireSurvivorSettleResp : pb::IMessage<VampireSurvivorSettleResp>
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
, pb::IBufferMessage
|
|
#endif
|
|
{
|
|
private static readonly pb::MessageParser<VampireSurvivorSettleResp> _parser = new pb::MessageParser<VampireSurvivorSettleResp>(() => new VampireSurvivorSettleResp());
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pb::MessageParser<VampireSurvivorSettleResp> Parser { get { return _parser; } }
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pbr::MessageDescriptor Descriptor {
|
|
get { return global::Proto.VampireSurvivorSettleReflection.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 VampireSurvivorSettleResp() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public VampireSurvivorSettleResp(VampireSurvivorSettleResp other) : this() {
|
|
nextPackage_ = other.nextPackage_;
|
|
switch (other.ResultCase) {
|
|
case ResultOneofCase.Victory:
|
|
Victory = other.Victory.Clone();
|
|
break;
|
|
case ResultOneofCase.Defeat:
|
|
Defeat = other.Defeat.Clone();
|
|
break;
|
|
}
|
|
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public VampireSurvivorSettleResp Clone() {
|
|
return new VampireSurvivorSettleResp(this);
|
|
}
|
|
|
|
/// <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");
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "Victory" field.</summary>
|
|
public const int VictoryFieldNumber = 1;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public global::Proto.VampireSurvivorSettleResp.Types.VictoryData Victory {
|
|
get { return resultCase_ == ResultOneofCase.Victory ? (global::Proto.VampireSurvivorSettleResp.Types.VictoryData) result_ : null; }
|
|
set {
|
|
result_ = value;
|
|
resultCase_ = value == null ? ResultOneofCase.None : ResultOneofCase.Victory;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "Defeat" field.</summary>
|
|
public const int DefeatFieldNumber = 2;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public global::Proto.VampireSurvivorSettleResp.Types.DefeatData Defeat {
|
|
get { return resultCase_ == ResultOneofCase.Defeat ? (global::Proto.VampireSurvivorSettleResp.Types.DefeatData) result_ : null; }
|
|
set {
|
|
result_ = value;
|
|
resultCase_ = value == null ? ResultOneofCase.None : ResultOneofCase.Defeat;
|
|
}
|
|
}
|
|
|
|
private object result_;
|
|
/// <summary>Enum of possible cases for the "Result" oneof.</summary>
|
|
public enum ResultOneofCase {
|
|
None = 0,
|
|
Victory = 1,
|
|
Defeat = 2,
|
|
}
|
|
private ResultOneofCase resultCase_ = ResultOneofCase.None;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public ResultOneofCase ResultCase {
|
|
get { return resultCase_; }
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public void ClearResult() {
|
|
resultCase_ = ResultOneofCase.None;
|
|
result_ = null;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public override bool Equals(object other) {
|
|
return Equals(other as VampireSurvivorSettleResp);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool Equals(VampireSurvivorSettleResp other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
if (NextPackage != other.NextPackage) return false;
|
|
if (!object.Equals(Victory, other.Victory)) return false;
|
|
if (!object.Equals(Defeat, other.Defeat)) return false;
|
|
if (ResultCase != other.ResultCase) 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 (NextPackage.Length != 0) hash ^= NextPackage.GetHashCode();
|
|
if (resultCase_ == ResultOneofCase.Victory) hash ^= Victory.GetHashCode();
|
|
if (resultCase_ == ResultOneofCase.Defeat) hash ^= Defeat.GetHashCode();
|
|
hash ^= (int) resultCase_;
|
|
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 (resultCase_ == ResultOneofCase.Victory) {
|
|
output.WriteRawTag(10);
|
|
output.WriteMessage(Victory);
|
|
}
|
|
if (resultCase_ == ResultOneofCase.Defeat) {
|
|
output.WriteRawTag(18);
|
|
output.WriteMessage(Defeat);
|
|
}
|
|
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 (resultCase_ == ResultOneofCase.Victory) {
|
|
output.WriteRawTag(10);
|
|
output.WriteMessage(Victory);
|
|
}
|
|
if (resultCase_ == ResultOneofCase.Defeat) {
|
|
output.WriteRawTag(18);
|
|
output.WriteMessage(Defeat);
|
|
}
|
|
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 (NextPackage.Length != 0) {
|
|
size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage);
|
|
}
|
|
if (resultCase_ == ResultOneofCase.Victory) {
|
|
size += 1 + pb::CodedOutputStream.ComputeMessageSize(Victory);
|
|
}
|
|
if (resultCase_ == ResultOneofCase.Defeat) {
|
|
size += 1 + pb::CodedOutputStream.ComputeMessageSize(Defeat);
|
|
}
|
|
if (_unknownFields != null) {
|
|
size += _unknownFields.CalculateSize();
|
|
}
|
|
return size;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public void MergeFrom(VampireSurvivorSettleResp other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
if (other.NextPackage.Length != 0) {
|
|
NextPackage = other.NextPackage;
|
|
}
|
|
switch (other.ResultCase) {
|
|
case ResultOneofCase.Victory:
|
|
if (Victory == null) {
|
|
Victory = new global::Proto.VampireSurvivorSettleResp.Types.VictoryData();
|
|
}
|
|
Victory.MergeFrom(other.Victory);
|
|
break;
|
|
case ResultOneofCase.Defeat:
|
|
if (Defeat == null) {
|
|
Defeat = new global::Proto.VampireSurvivorSettleResp.Types.DefeatData();
|
|
}
|
|
Defeat.MergeFrom(other.Defeat);
|
|
break;
|
|
}
|
|
|
|
_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: {
|
|
global::Proto.VampireSurvivorSettleResp.Types.VictoryData subBuilder = new global::Proto.VampireSurvivorSettleResp.Types.VictoryData();
|
|
if (resultCase_ == ResultOneofCase.Victory) {
|
|
subBuilder.MergeFrom(Victory);
|
|
}
|
|
input.ReadMessage(subBuilder);
|
|
Victory = subBuilder;
|
|
break;
|
|
}
|
|
case 18: {
|
|
global::Proto.VampireSurvivorSettleResp.Types.DefeatData subBuilder = new global::Proto.VampireSurvivorSettleResp.Types.DefeatData();
|
|
if (resultCase_ == ResultOneofCase.Defeat) {
|
|
subBuilder.MergeFrom(Defeat);
|
|
}
|
|
input.ReadMessage(subBuilder);
|
|
Defeat = subBuilder;
|
|
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: {
|
|
global::Proto.VampireSurvivorSettleResp.Types.VictoryData subBuilder = new global::Proto.VampireSurvivorSettleResp.Types.VictoryData();
|
|
if (resultCase_ == ResultOneofCase.Victory) {
|
|
subBuilder.MergeFrom(Victory);
|
|
}
|
|
input.ReadMessage(subBuilder);
|
|
Victory = subBuilder;
|
|
break;
|
|
}
|
|
case 18: {
|
|
global::Proto.VampireSurvivorSettleResp.Types.DefeatData subBuilder = new global::Proto.VampireSurvivorSettleResp.Types.DefeatData();
|
|
if (resultCase_ == ResultOneofCase.Defeat) {
|
|
subBuilder.MergeFrom(Defeat);
|
|
}
|
|
input.ReadMessage(subBuilder);
|
|
Defeat = subBuilder;
|
|
break;
|
|
}
|
|
case 16378: {
|
|
NextPackage = input.ReadBytes();
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
|
|
#region Nested types
|
|
/// <summary>Container for nested types declared in the VampireSurvivorSettleResp message type.</summary>
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static partial class Types {
|
|
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
|
public sealed partial class VictoryData : pb::IMessage<VictoryData>
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
, pb::IBufferMessage
|
|
#endif
|
|
{
|
|
private static readonly pb::MessageParser<VictoryData> _parser = new pb::MessageParser<VictoryData>(() => new VictoryData());
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pb::MessageParser<VictoryData> Parser { get { return _parser; } }
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pbr::MessageDescriptor Descriptor {
|
|
get { return global::Proto.VampireSurvivorSettleResp.Descriptor.NestedTypes[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 VictoryData() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public VictoryData(VictoryData other) : this() {
|
|
infos_ = other.infos_.Clone();
|
|
finalScore_ = other.finalScore_;
|
|
old_ = other.old_;
|
|
new_ = other.new_;
|
|
token_ = other.token_;
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public VictoryData Clone() {
|
|
return new VictoryData(this);
|
|
}
|
|
|
|
/// <summary>Field number for the "Infos" field.</summary>
|
|
public const int InfosFieldNumber = 1;
|
|
private static readonly pb::FieldCodec<global::Proto.VampireSurvivorAreaInfo> _repeated_infos_codec
|
|
= pb::FieldCodec.ForMessage(10, global::Proto.VampireSurvivorAreaInfo.Parser);
|
|
private readonly pbc::RepeatedField<global::Proto.VampireSurvivorAreaInfo> infos_ = new pbc::RepeatedField<global::Proto.VampireSurvivorAreaInfo>();
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public pbc::RepeatedField<global::Proto.VampireSurvivorAreaInfo> Infos {
|
|
get { return infos_; }
|
|
}
|
|
|
|
/// <summary>Field number for the "FinalScore" field.</summary>
|
|
public const int FinalScoreFieldNumber = 2;
|
|
private uint finalScore_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint FinalScore {
|
|
get { return finalScore_; }
|
|
set {
|
|
finalScore_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "Old" field.</summary>
|
|
public const int OldFieldNumber = 3;
|
|
private uint old_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint Old {
|
|
get { return old_; }
|
|
set {
|
|
old_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "New" field.</summary>
|
|
public const int NewFieldNumber = 4;
|
|
private uint new_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint New {
|
|
get { return new_; }
|
|
set {
|
|
new_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "Token" field.</summary>
|
|
public const int TokenFieldNumber = 8;
|
|
private string token_ = "";
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public string Token {
|
|
get { return token_; }
|
|
set {
|
|
token_ = 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 VictoryData);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool Equals(VictoryData other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
if(!infos_.Equals(other.infos_)) return false;
|
|
if (FinalScore != other.FinalScore) return false;
|
|
if (Old != other.Old) return false;
|
|
if (New != other.New) return false;
|
|
if (Token != other.Token) 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 ^= infos_.GetHashCode();
|
|
if (FinalScore != 0) hash ^= FinalScore.GetHashCode();
|
|
if (Old != 0) hash ^= Old.GetHashCode();
|
|
if (New != 0) hash ^= New.GetHashCode();
|
|
if (Token.Length != 0) hash ^= Token.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
|
|
infos_.WriteTo(output, _repeated_infos_codec);
|
|
if (FinalScore != 0) {
|
|
output.WriteRawTag(16);
|
|
output.WriteUInt32(FinalScore);
|
|
}
|
|
if (Old != 0) {
|
|
output.WriteRawTag(24);
|
|
output.WriteUInt32(Old);
|
|
}
|
|
if (New != 0) {
|
|
output.WriteRawTag(32);
|
|
output.WriteUInt32(New);
|
|
}
|
|
if (Token.Length != 0) {
|
|
output.WriteRawTag(66);
|
|
output.WriteString(Token);
|
|
}
|
|
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) {
|
|
infos_.WriteTo(ref output, _repeated_infos_codec);
|
|
if (FinalScore != 0) {
|
|
output.WriteRawTag(16);
|
|
output.WriteUInt32(FinalScore);
|
|
}
|
|
if (Old != 0) {
|
|
output.WriteRawTag(24);
|
|
output.WriteUInt32(Old);
|
|
}
|
|
if (New != 0) {
|
|
output.WriteRawTag(32);
|
|
output.WriteUInt32(New);
|
|
}
|
|
if (Token.Length != 0) {
|
|
output.WriteRawTag(66);
|
|
output.WriteString(Token);
|
|
}
|
|
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 += infos_.CalculateSize(_repeated_infos_codec);
|
|
if (FinalScore != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(FinalScore);
|
|
}
|
|
if (Old != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Old);
|
|
}
|
|
if (New != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(New);
|
|
}
|
|
if (Token.Length != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeStringSize(Token);
|
|
}
|
|
if (_unknownFields != null) {
|
|
size += _unknownFields.CalculateSize();
|
|
}
|
|
return size;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public void MergeFrom(VictoryData other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
infos_.Add(other.infos_);
|
|
if (other.FinalScore != 0) {
|
|
FinalScore = other.FinalScore;
|
|
}
|
|
if (other.Old != 0) {
|
|
Old = other.Old;
|
|
}
|
|
if (other.New != 0) {
|
|
New = other.New;
|
|
}
|
|
if (other.Token.Length != 0) {
|
|
Token = other.Token;
|
|
}
|
|
_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: {
|
|
infos_.AddEntriesFrom(input, _repeated_infos_codec);
|
|
break;
|
|
}
|
|
case 16: {
|
|
FinalScore = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 24: {
|
|
Old = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 32: {
|
|
New = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 66: {
|
|
Token = input.ReadString();
|
|
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: {
|
|
infos_.AddEntriesFrom(ref input, _repeated_infos_codec);
|
|
break;
|
|
}
|
|
case 16: {
|
|
FinalScore = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 24: {
|
|
Old = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 32: {
|
|
New = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 66: {
|
|
Token = input.ReadString();
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
|
public sealed partial class DefeatData : pb::IMessage<DefeatData>
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
, pb::IBufferMessage
|
|
#endif
|
|
{
|
|
private static readonly pb::MessageParser<DefeatData> _parser = new pb::MessageParser<DefeatData>(() => new DefeatData());
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pb::MessageParser<DefeatData> Parser { get { return _parser; } }
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pbr::MessageDescriptor Descriptor {
|
|
get { return global::Proto.VampireSurvivorSettleResp.Descriptor.NestedTypes[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 DefeatData() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public DefeatData(DefeatData other) : this() {
|
|
finalScore_ = other.finalScore_;
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public DefeatData Clone() {
|
|
return new DefeatData(this);
|
|
}
|
|
|
|
/// <summary>Field number for the "FinalScore" field.</summary>
|
|
public const int FinalScoreFieldNumber = 1;
|
|
private uint finalScore_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint FinalScore {
|
|
get { return finalScore_; }
|
|
set {
|
|
finalScore_ = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public override bool Equals(object other) {
|
|
return Equals(other as DefeatData);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool Equals(DefeatData other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
if (FinalScore != other.FinalScore) 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 (FinalScore != 0) hash ^= FinalScore.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 (FinalScore != 0) {
|
|
output.WriteRawTag(8);
|
|
output.WriteUInt32(FinalScore);
|
|
}
|
|
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 (FinalScore != 0) {
|
|
output.WriteRawTag(8);
|
|
output.WriteUInt32(FinalScore);
|
|
}
|
|
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 (FinalScore != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(FinalScore);
|
|
}
|
|
if (_unknownFields != null) {
|
|
size += _unknownFields.CalculateSize();
|
|
}
|
|
return size;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public void MergeFrom(DefeatData other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
if (other.FinalScore != 0) {
|
|
FinalScore = other.FinalScore;
|
|
}
|
|
_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: {
|
|
FinalScore = 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) {
|
|
if ((tag & 7) == 4) {
|
|
// Abort on any end group tag.
|
|
return;
|
|
}
|
|
switch(tag) {
|
|
default:
|
|
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
|
|
break;
|
|
case 8: {
|
|
FinalScore = input.ReadUInt32();
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
|
|
}
|
|
|
|
}
|
|
#endregion
|
|
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
|
public sealed partial class VampireSurvivorAreaInfo : pb::IMessage<VampireSurvivorAreaInfo>
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
, pb::IBufferMessage
|
|
#endif
|
|
{
|
|
private static readonly pb::MessageParser<VampireSurvivorAreaInfo> _parser = new pb::MessageParser<VampireSurvivorAreaInfo>(() => new VampireSurvivorAreaInfo());
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pb::MessageParser<VampireSurvivorAreaInfo> Parser { get { return _parser; } }
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pbr::MessageDescriptor Descriptor {
|
|
get { return global::Proto.VampireSurvivorSettleReflection.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 VampireSurvivorAreaInfo() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public VampireSurvivorAreaInfo(VampireSurvivorAreaInfo other) : this() {
|
|
killCount_ = other.killCount_.Clone();
|
|
killScore_ = other.killScore_.Clone();
|
|
bossTime_ = other.bossTime_;
|
|
score_ = other.score_;
|
|
nextPackage_ = other.nextPackage_;
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public VampireSurvivorAreaInfo Clone() {
|
|
return new VampireSurvivorAreaInfo(this);
|
|
}
|
|
|
|
/// <summary>Field number for the "KillCount" field.</summary>
|
|
public const int KillCountFieldNumber = 1;
|
|
private static readonly pb::FieldCodec<uint> _repeated_killCount_codec
|
|
= pb::FieldCodec.ForUInt32(10);
|
|
private readonly pbc::RepeatedField<uint> killCount_ = new pbc::RepeatedField<uint>();
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public pbc::RepeatedField<uint> KillCount {
|
|
get { return killCount_; }
|
|
}
|
|
|
|
/// <summary>Field number for the "KillScore" field.</summary>
|
|
public const int KillScoreFieldNumber = 2;
|
|
private static readonly pb::FieldCodec<uint> _repeated_killScore_codec
|
|
= pb::FieldCodec.ForUInt32(18);
|
|
private readonly pbc::RepeatedField<uint> killScore_ = new pbc::RepeatedField<uint>();
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public pbc::RepeatedField<uint> KillScore {
|
|
get { return killScore_; }
|
|
}
|
|
|
|
/// <summary>Field number for the "BossTime" field.</summary>
|
|
public const int BossTimeFieldNumber = 3;
|
|
private uint bossTime_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint BossTime {
|
|
get { return bossTime_; }
|
|
set {
|
|
bossTime_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "Score" field.</summary>
|
|
public const int ScoreFieldNumber = 4;
|
|
private uint score_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint Score {
|
|
get { return score_; }
|
|
set {
|
|
score_ = 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 VampireSurvivorAreaInfo);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool Equals(VampireSurvivorAreaInfo other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
if(!killCount_.Equals(other.killCount_)) return false;
|
|
if(!killScore_.Equals(other.killScore_)) return false;
|
|
if (BossTime != other.BossTime) return false;
|
|
if (Score != other.Score) 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 ^= killCount_.GetHashCode();
|
|
hash ^= killScore_.GetHashCode();
|
|
if (BossTime != 0) hash ^= BossTime.GetHashCode();
|
|
if (Score != 0) hash ^= Score.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
|
|
killCount_.WriteTo(output, _repeated_killCount_codec);
|
|
killScore_.WriteTo(output, _repeated_killScore_codec);
|
|
if (BossTime != 0) {
|
|
output.WriteRawTag(24);
|
|
output.WriteUInt32(BossTime);
|
|
}
|
|
if (Score != 0) {
|
|
output.WriteRawTag(32);
|
|
output.WriteUInt32(Score);
|
|
}
|
|
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) {
|
|
killCount_.WriteTo(ref output, _repeated_killCount_codec);
|
|
killScore_.WriteTo(ref output, _repeated_killScore_codec);
|
|
if (BossTime != 0) {
|
|
output.WriteRawTag(24);
|
|
output.WriteUInt32(BossTime);
|
|
}
|
|
if (Score != 0) {
|
|
output.WriteRawTag(32);
|
|
output.WriteUInt32(Score);
|
|
}
|
|
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 += killCount_.CalculateSize(_repeated_killCount_codec);
|
|
size += killScore_.CalculateSize(_repeated_killScore_codec);
|
|
if (BossTime != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(BossTime);
|
|
}
|
|
if (Score != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Score);
|
|
}
|
|
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(VampireSurvivorAreaInfo other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
killCount_.Add(other.killCount_);
|
|
killScore_.Add(other.killScore_);
|
|
if (other.BossTime != 0) {
|
|
BossTime = other.BossTime;
|
|
}
|
|
if (other.Score != 0) {
|
|
Score = other.Score;
|
|
}
|
|
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:
|
|
case 8: {
|
|
killCount_.AddEntriesFrom(input, _repeated_killCount_codec);
|
|
break;
|
|
}
|
|
case 18:
|
|
case 16: {
|
|
killScore_.AddEntriesFrom(input, _repeated_killScore_codec);
|
|
break;
|
|
}
|
|
case 24: {
|
|
BossTime = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 32: {
|
|
Score = 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 10:
|
|
case 8: {
|
|
killCount_.AddEntriesFrom(ref input, _repeated_killCount_codec);
|
|
break;
|
|
}
|
|
case 18:
|
|
case 16: {
|
|
killScore_.AddEntriesFrom(ref input, _repeated_killScore_codec);
|
|
break;
|
|
}
|
|
case 24: {
|
|
BossTime = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 32: {
|
|
Score = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 16378: {
|
|
NextPackage = input.ReadBytes();
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
}
|
|
|
|
#endregion Designer generated code
|