Files
Novaria/Novaria.Common/Protos/VampireSurvivorApply.cs
2025-01-11 10:23:59 -05:00

761 lines
26 KiB
C#

// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: vampire_survivor_apply.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_apply.proto</summary>
public static partial class VampireSurvivorApplyReflection {
#region Descriptor
/// <summary>File descriptor for vampire_survivor_apply.proto</summary>
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static VampireSurvivorApplyReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"Chx2YW1waXJlX3N1cnZpdm9yX2FwcGx5LnByb3RvEgVwcm90bxoMcHVibGlj",
"LnByb3RvIl8KF1ZhbXBpcmVTdXJ2aXZvckFwcGx5UmVxEgoKAklkGAEgASgN",
"EhAKCEJ1aWxkSWQxGAIgASgEEhAKCEJ1aWxkSWQyGAMgASgEEhQKC05leHRQ",
"YWNrYWdlGP8PIAEoDCL5AQoYVmFtcGlyZVN1cnZpdm9yQXBwbHlSZXNwEisK",
"BkV2ZW50cxgBIAMoCzIbLnByb3RvLlZhbXBpcmVTdXJ2aXZvckV2ZW50Eg4K",
"BlRpY2tlchgCIAEoDRIhCgZDaGFuZ2UYAyABKAsyES5wcm90by5DaGFuZ2VJ",
"bmZvEjQKBlNlbGVjdBgEIAEoCzIkLnByb3RvLlZhbXBpcmVTdXJ2aXZvckZh",
"dGVDYXJkU2VsZWN0EjEKBlJld2FyZBgFIAEoCzIhLnByb3RvLlZhbXBpcmVT",
"dXJ2aXZvckxldmVsUmV3YXJkEhQKC05leHRQYWNrYWdlGP8PIAEoDFAAYgZw",
"cm90bzM="));
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.VampireSurvivorApplyReq), global::Proto.VampireSurvivorApplyReq.Parser, new[]{ "Id", "BuildId1", "BuildId2", "NextPackage" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Proto.VampireSurvivorApplyResp), global::Proto.VampireSurvivorApplyResp.Parser, new[]{ "Events", "Ticker", "Change", "Select", "Reward", "NextPackage" }, null, null, null, null)
}));
}
#endregion
}
#region Messages
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class VampireSurvivorApplyReq : pb::IMessage<VampireSurvivorApplyReq>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<VampireSurvivorApplyReq> _parser = new pb::MessageParser<VampireSurvivorApplyReq>(() => new VampireSurvivorApplyReq());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<VampireSurvivorApplyReq> Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pbr::MessageDescriptor Descriptor {
get { return global::Proto.VampireSurvivorApplyReflection.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 VampireSurvivorApplyReq() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public VampireSurvivorApplyReq(VampireSurvivorApplyReq other) : this() {
id_ = other.id_;
buildId1_ = other.buildId1_;
buildId2_ = other.buildId2_;
nextPackage_ = other.nextPackage_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public VampireSurvivorApplyReq Clone() {
return new VampireSurvivorApplyReq(this);
}
/// <summary>Field number for the "Id" field.</summary>
public const int IdFieldNumber = 1;
private uint id_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint Id {
get { return id_; }
set {
id_ = value;
}
}
/// <summary>Field number for the "BuildId1" field.</summary>
public const int BuildId1FieldNumber = 2;
private ulong buildId1_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public ulong BuildId1 {
get { return buildId1_; }
set {
buildId1_ = value;
}
}
/// <summary>Field number for the "BuildId2" field.</summary>
public const int BuildId2FieldNumber = 3;
private ulong buildId2_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public ulong BuildId2 {
get { return buildId2_; }
set {
buildId2_ = 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 VampireSurvivorApplyReq);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(VampireSurvivorApplyReq other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Id != other.Id) return false;
if (BuildId1 != other.BuildId1) return false;
if (BuildId2 != other.BuildId2) 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 (Id != 0) hash ^= Id.GetHashCode();
if (BuildId1 != 0UL) hash ^= BuildId1.GetHashCode();
if (BuildId2 != 0UL) hash ^= BuildId2.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 (Id != 0) {
output.WriteRawTag(8);
output.WriteUInt32(Id);
}
if (BuildId1 != 0UL) {
output.WriteRawTag(16);
output.WriteUInt64(BuildId1);
}
if (BuildId2 != 0UL) {
output.WriteRawTag(24);
output.WriteUInt64(BuildId2);
}
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 (Id != 0) {
output.WriteRawTag(8);
output.WriteUInt32(Id);
}
if (BuildId1 != 0UL) {
output.WriteRawTag(16);
output.WriteUInt64(BuildId1);
}
if (BuildId2 != 0UL) {
output.WriteRawTag(24);
output.WriteUInt64(BuildId2);
}
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 (Id != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Id);
}
if (BuildId1 != 0UL) {
size += 1 + pb::CodedOutputStream.ComputeUInt64Size(BuildId1);
}
if (BuildId2 != 0UL) {
size += 1 + pb::CodedOutputStream.ComputeUInt64Size(BuildId2);
}
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(VampireSurvivorApplyReq other) {
if (other == null) {
return;
}
if (other.Id != 0) {
Id = other.Id;
}
if (other.BuildId1 != 0UL) {
BuildId1 = other.BuildId1;
}
if (other.BuildId2 != 0UL) {
BuildId2 = other.BuildId2;
}
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: {
Id = input.ReadUInt32();
break;
}
case 16: {
BuildId1 = input.ReadUInt64();
break;
}
case 24: {
BuildId2 = input.ReadUInt64();
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: {
Id = input.ReadUInt32();
break;
}
case 16: {
BuildId1 = input.ReadUInt64();
break;
}
case 24: {
BuildId2 = input.ReadUInt64();
break;
}
case 16378: {
NextPackage = input.ReadBytes();
break;
}
}
}
}
#endif
}
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class VampireSurvivorApplyResp : pb::IMessage<VampireSurvivorApplyResp>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<VampireSurvivorApplyResp> _parser = new pb::MessageParser<VampireSurvivorApplyResp>(() => new VampireSurvivorApplyResp());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<VampireSurvivorApplyResp> Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pbr::MessageDescriptor Descriptor {
get { return global::Proto.VampireSurvivorApplyReflection.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 VampireSurvivorApplyResp() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public VampireSurvivorApplyResp(VampireSurvivorApplyResp other) : this() {
events_ = other.events_.Clone();
ticker_ = other.ticker_;
change_ = other.change_ != null ? other.change_.Clone() : null;
select_ = other.select_ != null ? other.select_.Clone() : null;
reward_ = other.reward_ != null ? other.reward_.Clone() : null;
nextPackage_ = other.nextPackage_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public VampireSurvivorApplyResp Clone() {
return new VampireSurvivorApplyResp(this);
}
/// <summary>Field number for the "Events" field.</summary>
public const int EventsFieldNumber = 1;
private static readonly pb::FieldCodec<global::Proto.VampireSurvivorEvent> _repeated_events_codec
= pb::FieldCodec.ForMessage(10, global::Proto.VampireSurvivorEvent.Parser);
private readonly pbc::RepeatedField<global::Proto.VampireSurvivorEvent> events_ = new pbc::RepeatedField<global::Proto.VampireSurvivorEvent>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<global::Proto.VampireSurvivorEvent> Events {
get { return events_; }
}
/// <summary>Field number for the "Ticker" field.</summary>
public const int TickerFieldNumber = 2;
private uint ticker_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint Ticker {
get { return ticker_; }
set {
ticker_ = value;
}
}
/// <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 "Select" field.</summary>
public const int SelectFieldNumber = 4;
private global::Proto.VampireSurvivorFateCardSelect select_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::Proto.VampireSurvivorFateCardSelect Select {
get { return select_; }
set {
select_ = value;
}
}
/// <summary>Field number for the "Reward" field.</summary>
public const int RewardFieldNumber = 5;
private global::Proto.VampireSurvivorLevelReward reward_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::Proto.VampireSurvivorLevelReward Reward {
get { return reward_; }
set {
reward_ = 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 VampireSurvivorApplyResp);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(VampireSurvivorApplyResp other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if(!events_.Equals(other.events_)) return false;
if (Ticker != other.Ticker) return false;
if (!object.Equals(Change, other.Change)) return false;
if (!object.Equals(Select, other.Select)) return false;
if (!object.Equals(Reward, other.Reward)) 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 ^= events_.GetHashCode();
if (Ticker != 0) hash ^= Ticker.GetHashCode();
if (change_ != null) hash ^= Change.GetHashCode();
if (select_ != null) hash ^= Select.GetHashCode();
if (reward_ != null) hash ^= Reward.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
events_.WriteTo(output, _repeated_events_codec);
if (Ticker != 0) {
output.WriteRawTag(16);
output.WriteUInt32(Ticker);
}
if (change_ != null) {
output.WriteRawTag(26);
output.WriteMessage(Change);
}
if (select_ != null) {
output.WriteRawTag(34);
output.WriteMessage(Select);
}
if (reward_ != null) {
output.WriteRawTag(42);
output.WriteMessage(Reward);
}
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) {
events_.WriteTo(ref output, _repeated_events_codec);
if (Ticker != 0) {
output.WriteRawTag(16);
output.WriteUInt32(Ticker);
}
if (change_ != null) {
output.WriteRawTag(26);
output.WriteMessage(Change);
}
if (select_ != null) {
output.WriteRawTag(34);
output.WriteMessage(Select);
}
if (reward_ != null) {
output.WriteRawTag(42);
output.WriteMessage(Reward);
}
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 += events_.CalculateSize(_repeated_events_codec);
if (Ticker != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Ticker);
}
if (change_ != null) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(Change);
}
if (select_ != null) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(Select);
}
if (reward_ != null) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(Reward);
}
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(VampireSurvivorApplyResp other) {
if (other == null) {
return;
}
events_.Add(other.events_);
if (other.Ticker != 0) {
Ticker = other.Ticker;
}
if (other.change_ != null) {
if (change_ == null) {
Change = new global::Proto.ChangeInfo();
}
Change.MergeFrom(other.Change);
}
if (other.select_ != null) {
if (select_ == null) {
Select = new global::Proto.VampireSurvivorFateCardSelect();
}
Select.MergeFrom(other.Select);
}
if (other.reward_ != null) {
if (reward_ == null) {
Reward = new global::Proto.VampireSurvivorLevelReward();
}
Reward.MergeFrom(other.Reward);
}
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: {
events_.AddEntriesFrom(input, _repeated_events_codec);
break;
}
case 16: {
Ticker = input.ReadUInt32();
break;
}
case 26: {
if (change_ == null) {
Change = new global::Proto.ChangeInfo();
}
input.ReadMessage(Change);
break;
}
case 34: {
if (select_ == null) {
Select = new global::Proto.VampireSurvivorFateCardSelect();
}
input.ReadMessage(Select);
break;
}
case 42: {
if (reward_ == null) {
Reward = new global::Proto.VampireSurvivorLevelReward();
}
input.ReadMessage(Reward);
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: {
events_.AddEntriesFrom(ref input, _repeated_events_codec);
break;
}
case 16: {
Ticker = input.ReadUInt32();
break;
}
case 26: {
if (change_ == null) {
Change = new global::Proto.ChangeInfo();
}
input.ReadMessage(Change);
break;
}
case 34: {
if (select_ == null) {
Select = new global::Proto.VampireSurvivorFateCardSelect();
}
input.ReadMessage(Select);
break;
}
case 42: {
if (reward_ == null) {
Reward = new global::Proto.VampireSurvivorLevelReward();
}
input.ReadMessage(Reward);
break;
}
case 16378: {
NextPackage = input.ReadBytes();
break;
}
}
}
}
#endif
}
#endregion
}
#endregion Designer generated code