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

2166 lines
73 KiB
C#

// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: roguelike_tempData.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 Nova.Client.Roguelike {
/// <summary>Holder for reflection information generated from roguelike_tempData.proto</summary>
public static partial class RoguelikeTempDataReflection {
#region Descriptor
/// <summary>File descriptor for roguelike_tempData.proto</summary>
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static RoguelikeTempDataReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"Chhyb2d1ZWxpa2VfdGVtcERhdGEucHJvdG8SFW5vdmEuY2xpZW50LnJvZ3Vl",
"bGlrZSKSAQoFU2tpbGwSDwoHbkNoYXJJZBgBIAEoAxIQCghuU2tpbGxJZBgC",
"IAEoAxILCgNuQ2QYAyABKAMSFgoOblNlY3Rpb25BbW91bnQYBCABKAMSGgoS",
"blNlY3Rpb25SZXN1bWVUaW1lGAUgASgDEhQKDG5Vc2VUaW1lSGludBgGIAEo",
"AxIPCgduRW5lcmd5GAcgASgDIjIKBkVmZmVjdBILCgNuSWQYASABKAMSDgoG",
"bkNvdW50GAIgASgDEgsKA25DZBgDIAEoAyIwCghCdWZmSW5mbxIKCgJJZBgB",
"IAEoAxIKCgJDRBgCIAEoAxIMCgRuTnVtGAMgASgDIjAKClNraWxsU3RhdGUS",
"DgoGblN0YXRlGAEgASgDEhIKCm5TdGF0ZVRpbWUYAiABKAMiTAoIQW1tb0lu",
"Zm8SEAoIbkN1ckFtbW8YASABKAMSDgoGbkFtbW8xGAIgASgDEg4KBm5BbW1v",
"MhgDIAEoAxIOCgZuQW1tbzMYBCABKAMi5wEKCUNoYXJhY3RlchIPCgduQ2hh",
"cklkGAEgASgDEi8KCHRiRWZmZWN0GAIgAygLMh0ubm92YS5jbGllbnQucm9n",
"dWVsaWtlLkVmZmVjdBIvCgZ0YkJ1ZmYYAyADKAsyHy5ub3ZhLmNsaWVudC5y",
"b2d1ZWxpa2UuQnVmZkluZm8SNAoJc3RhdGVJbmZvGAQgASgLMiEubm92YS5j",
"bGllbnQucm9ndWVsaWtlLlNraWxsU3RhdGUSMQoIYW1tb0luZm8YBSABKAsy",
"Hy5ub3ZhLmNsaWVudC5yb2d1ZWxpa2UuQW1tb0luZm8ihwEKCHRlbXBEYXRh",
"EhEKCWN1ckNoYXJJZBgBIAEoAxIvCglza2lsbEluZm8YAiADKAsyHC5ub3Zh",
"LmNsaWVudC5yb2d1ZWxpa2UuU2tpbGwSNwoNY2hhcmFjdGVySW5mbxgDIAMo",
"CzIgLm5vdmEuY2xpZW50LnJvZ3VlbGlrZS5DaGFyYWN0ZXJiBnByb3RvMw=="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { },
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.Roguelike.Skill), global::Nova.Client.Roguelike.Skill.Parser, new[]{ "NCharId", "NSkillId", "NCd", "NSectionAmount", "NSectionResumeTime", "NUseTimeHint", "NEnergy" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.Roguelike.Effect), global::Nova.Client.Roguelike.Effect.Parser, new[]{ "NId", "NCount", "NCd" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.Roguelike.BuffInfo), global::Nova.Client.Roguelike.BuffInfo.Parser, new[]{ "Id", "CD", "NNum" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.Roguelike.SkillState), global::Nova.Client.Roguelike.SkillState.Parser, new[]{ "NState", "NStateTime" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.Roguelike.AmmoInfo), global::Nova.Client.Roguelike.AmmoInfo.Parser, new[]{ "NCurAmmo", "NAmmo1", "NAmmo2", "NAmmo3" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.Roguelike.Character), global::Nova.Client.Roguelike.Character.Parser, new[]{ "NCharId", "TbEffect", "TbBuff", "StateInfo", "AmmoInfo" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.Roguelike.tempData), global::Nova.Client.Roguelike.tempData.Parser, new[]{ "CurCharId", "SkillInfo", "CharacterInfo" }, null, null, null, null)
}));
}
#endregion
}
#region Messages
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class Skill : pb::IMessage<Skill>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<Skill> _parser = new pb::MessageParser<Skill>(() => new Skill());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<Skill> Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pbr::MessageDescriptor Descriptor {
get { return global::Nova.Client.Roguelike.RoguelikeTempDataReflection.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 Skill() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public Skill(Skill other) : this() {
nCharId_ = other.nCharId_;
nSkillId_ = other.nSkillId_;
nCd_ = other.nCd_;
nSectionAmount_ = other.nSectionAmount_;
nSectionResumeTime_ = other.nSectionResumeTime_;
nUseTimeHint_ = other.nUseTimeHint_;
nEnergy_ = other.nEnergy_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public Skill Clone() {
return new Skill(this);
}
/// <summary>Field number for the "nCharId" field.</summary>
public const int NCharIdFieldNumber = 1;
private long nCharId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public long NCharId {
get { return nCharId_; }
set {
nCharId_ = value;
}
}
/// <summary>Field number for the "nSkillId" field.</summary>
public const int NSkillIdFieldNumber = 2;
private long nSkillId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public long NSkillId {
get { return nSkillId_; }
set {
nSkillId_ = value;
}
}
/// <summary>Field number for the "nCd" field.</summary>
public const int NCdFieldNumber = 3;
private long nCd_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public long NCd {
get { return nCd_; }
set {
nCd_ = value;
}
}
/// <summary>Field number for the "nSectionAmount" field.</summary>
public const int NSectionAmountFieldNumber = 4;
private long nSectionAmount_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public long NSectionAmount {
get { return nSectionAmount_; }
set {
nSectionAmount_ = value;
}
}
/// <summary>Field number for the "nSectionResumeTime" field.</summary>
public const int NSectionResumeTimeFieldNumber = 5;
private long nSectionResumeTime_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public long NSectionResumeTime {
get { return nSectionResumeTime_; }
set {
nSectionResumeTime_ = value;
}
}
/// <summary>Field number for the "nUseTimeHint" field.</summary>
public const int NUseTimeHintFieldNumber = 6;
private long nUseTimeHint_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public long NUseTimeHint {
get { return nUseTimeHint_; }
set {
nUseTimeHint_ = value;
}
}
/// <summary>Field number for the "nEnergy" field.</summary>
public const int NEnergyFieldNumber = 7;
private long nEnergy_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public long NEnergy {
get { return nEnergy_; }
set {
nEnergy_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as Skill);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(Skill other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (NCharId != other.NCharId) return false;
if (NSkillId != other.NSkillId) return false;
if (NCd != other.NCd) return false;
if (NSectionAmount != other.NSectionAmount) return false;
if (NSectionResumeTime != other.NSectionResumeTime) return false;
if (NUseTimeHint != other.NUseTimeHint) return false;
if (NEnergy != other.NEnergy) 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 (NCharId != 0L) hash ^= NCharId.GetHashCode();
if (NSkillId != 0L) hash ^= NSkillId.GetHashCode();
if (NCd != 0L) hash ^= NCd.GetHashCode();
if (NSectionAmount != 0L) hash ^= NSectionAmount.GetHashCode();
if (NSectionResumeTime != 0L) hash ^= NSectionResumeTime.GetHashCode();
if (NUseTimeHint != 0L) hash ^= NUseTimeHint.GetHashCode();
if (NEnergy != 0L) hash ^= NEnergy.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 (NCharId != 0L) {
output.WriteRawTag(8);
output.WriteInt64(NCharId);
}
if (NSkillId != 0L) {
output.WriteRawTag(16);
output.WriteInt64(NSkillId);
}
if (NCd != 0L) {
output.WriteRawTag(24);
output.WriteInt64(NCd);
}
if (NSectionAmount != 0L) {
output.WriteRawTag(32);
output.WriteInt64(NSectionAmount);
}
if (NSectionResumeTime != 0L) {
output.WriteRawTag(40);
output.WriteInt64(NSectionResumeTime);
}
if (NUseTimeHint != 0L) {
output.WriteRawTag(48);
output.WriteInt64(NUseTimeHint);
}
if (NEnergy != 0L) {
output.WriteRawTag(56);
output.WriteInt64(NEnergy);
}
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 (NCharId != 0L) {
output.WriteRawTag(8);
output.WriteInt64(NCharId);
}
if (NSkillId != 0L) {
output.WriteRawTag(16);
output.WriteInt64(NSkillId);
}
if (NCd != 0L) {
output.WriteRawTag(24);
output.WriteInt64(NCd);
}
if (NSectionAmount != 0L) {
output.WriteRawTag(32);
output.WriteInt64(NSectionAmount);
}
if (NSectionResumeTime != 0L) {
output.WriteRawTag(40);
output.WriteInt64(NSectionResumeTime);
}
if (NUseTimeHint != 0L) {
output.WriteRawTag(48);
output.WriteInt64(NUseTimeHint);
}
if (NEnergy != 0L) {
output.WriteRawTag(56);
output.WriteInt64(NEnergy);
}
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 (NCharId != 0L) {
size += 1 + pb::CodedOutputStream.ComputeInt64Size(NCharId);
}
if (NSkillId != 0L) {
size += 1 + pb::CodedOutputStream.ComputeInt64Size(NSkillId);
}
if (NCd != 0L) {
size += 1 + pb::CodedOutputStream.ComputeInt64Size(NCd);
}
if (NSectionAmount != 0L) {
size += 1 + pb::CodedOutputStream.ComputeInt64Size(NSectionAmount);
}
if (NSectionResumeTime != 0L) {
size += 1 + pb::CodedOutputStream.ComputeInt64Size(NSectionResumeTime);
}
if (NUseTimeHint != 0L) {
size += 1 + pb::CodedOutputStream.ComputeInt64Size(NUseTimeHint);
}
if (NEnergy != 0L) {
size += 1 + pb::CodedOutputStream.ComputeInt64Size(NEnergy);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(Skill other) {
if (other == null) {
return;
}
if (other.NCharId != 0L) {
NCharId = other.NCharId;
}
if (other.NSkillId != 0L) {
NSkillId = other.NSkillId;
}
if (other.NCd != 0L) {
NCd = other.NCd;
}
if (other.NSectionAmount != 0L) {
NSectionAmount = other.NSectionAmount;
}
if (other.NSectionResumeTime != 0L) {
NSectionResumeTime = other.NSectionResumeTime;
}
if (other.NUseTimeHint != 0L) {
NUseTimeHint = other.NUseTimeHint;
}
if (other.NEnergy != 0L) {
NEnergy = other.NEnergy;
}
_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: {
NCharId = input.ReadInt64();
break;
}
case 16: {
NSkillId = input.ReadInt64();
break;
}
case 24: {
NCd = input.ReadInt64();
break;
}
case 32: {
NSectionAmount = input.ReadInt64();
break;
}
case 40: {
NSectionResumeTime = input.ReadInt64();
break;
}
case 48: {
NUseTimeHint = input.ReadInt64();
break;
}
case 56: {
NEnergy = input.ReadInt64();
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: {
NCharId = input.ReadInt64();
break;
}
case 16: {
NSkillId = input.ReadInt64();
break;
}
case 24: {
NCd = input.ReadInt64();
break;
}
case 32: {
NSectionAmount = input.ReadInt64();
break;
}
case 40: {
NSectionResumeTime = input.ReadInt64();
break;
}
case 48: {
NUseTimeHint = input.ReadInt64();
break;
}
case 56: {
NEnergy = input.ReadInt64();
break;
}
}
}
}
#endif
}
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class Effect : pb::IMessage<Effect>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<Effect> _parser = new pb::MessageParser<Effect>(() => new Effect());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<Effect> Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pbr::MessageDescriptor Descriptor {
get { return global::Nova.Client.Roguelike.RoguelikeTempDataReflection.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 Effect() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public Effect(Effect other) : this() {
nId_ = other.nId_;
nCount_ = other.nCount_;
nCd_ = other.nCd_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public Effect Clone() {
return new Effect(this);
}
/// <summary>Field number for the "nId" field.</summary>
public const int NIdFieldNumber = 1;
private long nId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public long NId {
get { return nId_; }
set {
nId_ = value;
}
}
/// <summary>Field number for the "nCount" field.</summary>
public const int NCountFieldNumber = 2;
private long nCount_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public long NCount {
get { return nCount_; }
set {
nCount_ = value;
}
}
/// <summary>Field number for the "nCd" field.</summary>
public const int NCdFieldNumber = 3;
private long nCd_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public long NCd {
get { return nCd_; }
set {
nCd_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as Effect);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(Effect other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (NId != other.NId) return false;
if (NCount != other.NCount) return false;
if (NCd != other.NCd) 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 (NId != 0L) hash ^= NId.GetHashCode();
if (NCount != 0L) hash ^= NCount.GetHashCode();
if (NCd != 0L) hash ^= NCd.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 (NId != 0L) {
output.WriteRawTag(8);
output.WriteInt64(NId);
}
if (NCount != 0L) {
output.WriteRawTag(16);
output.WriteInt64(NCount);
}
if (NCd != 0L) {
output.WriteRawTag(24);
output.WriteInt64(NCd);
}
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 (NId != 0L) {
output.WriteRawTag(8);
output.WriteInt64(NId);
}
if (NCount != 0L) {
output.WriteRawTag(16);
output.WriteInt64(NCount);
}
if (NCd != 0L) {
output.WriteRawTag(24);
output.WriteInt64(NCd);
}
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 (NId != 0L) {
size += 1 + pb::CodedOutputStream.ComputeInt64Size(NId);
}
if (NCount != 0L) {
size += 1 + pb::CodedOutputStream.ComputeInt64Size(NCount);
}
if (NCd != 0L) {
size += 1 + pb::CodedOutputStream.ComputeInt64Size(NCd);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(Effect other) {
if (other == null) {
return;
}
if (other.NId != 0L) {
NId = other.NId;
}
if (other.NCount != 0L) {
NCount = other.NCount;
}
if (other.NCd != 0L) {
NCd = other.NCd;
}
_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: {
NId = input.ReadInt64();
break;
}
case 16: {
NCount = input.ReadInt64();
break;
}
case 24: {
NCd = input.ReadInt64();
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: {
NId = input.ReadInt64();
break;
}
case 16: {
NCount = input.ReadInt64();
break;
}
case 24: {
NCd = input.ReadInt64();
break;
}
}
}
}
#endif
}
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class BuffInfo : pb::IMessage<BuffInfo>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<BuffInfo> _parser = new pb::MessageParser<BuffInfo>(() => new BuffInfo());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<BuffInfo> Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pbr::MessageDescriptor Descriptor {
get { return global::Nova.Client.Roguelike.RoguelikeTempDataReflection.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 BuffInfo() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public BuffInfo(BuffInfo other) : this() {
id_ = other.id_;
cD_ = other.cD_;
nNum_ = other.nNum_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public BuffInfo Clone() {
return new BuffInfo(this);
}
/// <summary>Field number for the "Id" field.</summary>
public const int IdFieldNumber = 1;
private long id_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public long Id {
get { return id_; }
set {
id_ = value;
}
}
/// <summary>Field number for the "CD" field.</summary>
public const int CDFieldNumber = 2;
private long cD_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public long CD {
get { return cD_; }
set {
cD_ = value;
}
}
/// <summary>Field number for the "nNum" field.</summary>
public const int NNumFieldNumber = 3;
private long nNum_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public long NNum {
get { return nNum_; }
set {
nNum_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as BuffInfo);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(BuffInfo other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Id != other.Id) return false;
if (CD != other.CD) return false;
if (NNum != other.NNum) 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 != 0L) hash ^= Id.GetHashCode();
if (CD != 0L) hash ^= CD.GetHashCode();
if (NNum != 0L) hash ^= NNum.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 != 0L) {
output.WriteRawTag(8);
output.WriteInt64(Id);
}
if (CD != 0L) {
output.WriteRawTag(16);
output.WriteInt64(CD);
}
if (NNum != 0L) {
output.WriteRawTag(24);
output.WriteInt64(NNum);
}
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 != 0L) {
output.WriteRawTag(8);
output.WriteInt64(Id);
}
if (CD != 0L) {
output.WriteRawTag(16);
output.WriteInt64(CD);
}
if (NNum != 0L) {
output.WriteRawTag(24);
output.WriteInt64(NNum);
}
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 != 0L) {
size += 1 + pb::CodedOutputStream.ComputeInt64Size(Id);
}
if (CD != 0L) {
size += 1 + pb::CodedOutputStream.ComputeInt64Size(CD);
}
if (NNum != 0L) {
size += 1 + pb::CodedOutputStream.ComputeInt64Size(NNum);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(BuffInfo other) {
if (other == null) {
return;
}
if (other.Id != 0L) {
Id = other.Id;
}
if (other.CD != 0L) {
CD = other.CD;
}
if (other.NNum != 0L) {
NNum = other.NNum;
}
_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.ReadInt64();
break;
}
case 16: {
CD = input.ReadInt64();
break;
}
case 24: {
NNum = input.ReadInt64();
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.ReadInt64();
break;
}
case 16: {
CD = input.ReadInt64();
break;
}
case 24: {
NNum = input.ReadInt64();
break;
}
}
}
}
#endif
}
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class SkillState : pb::IMessage<SkillState>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<SkillState> _parser = new pb::MessageParser<SkillState>(() => new SkillState());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<SkillState> Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pbr::MessageDescriptor Descriptor {
get { return global::Nova.Client.Roguelike.RoguelikeTempDataReflection.Descriptor.MessageTypes[3]; }
}
[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 SkillState() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public SkillState(SkillState other) : this() {
nState_ = other.nState_;
nStateTime_ = other.nStateTime_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public SkillState Clone() {
return new SkillState(this);
}
/// <summary>Field number for the "nState" field.</summary>
public const int NStateFieldNumber = 1;
private long nState_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public long NState {
get { return nState_; }
set {
nState_ = value;
}
}
/// <summary>Field number for the "nStateTime" field.</summary>
public const int NStateTimeFieldNumber = 2;
private long nStateTime_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public long NStateTime {
get { return nStateTime_; }
set {
nStateTime_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as SkillState);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(SkillState other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (NState != other.NState) return false;
if (NStateTime != other.NStateTime) 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 (NState != 0L) hash ^= NState.GetHashCode();
if (NStateTime != 0L) hash ^= NStateTime.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 (NState != 0L) {
output.WriteRawTag(8);
output.WriteInt64(NState);
}
if (NStateTime != 0L) {
output.WriteRawTag(16);
output.WriteInt64(NStateTime);
}
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 (NState != 0L) {
output.WriteRawTag(8);
output.WriteInt64(NState);
}
if (NStateTime != 0L) {
output.WriteRawTag(16);
output.WriteInt64(NStateTime);
}
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 (NState != 0L) {
size += 1 + pb::CodedOutputStream.ComputeInt64Size(NState);
}
if (NStateTime != 0L) {
size += 1 + pb::CodedOutputStream.ComputeInt64Size(NStateTime);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(SkillState other) {
if (other == null) {
return;
}
if (other.NState != 0L) {
NState = other.NState;
}
if (other.NStateTime != 0L) {
NStateTime = other.NStateTime;
}
_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: {
NState = input.ReadInt64();
break;
}
case 16: {
NStateTime = input.ReadInt64();
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: {
NState = input.ReadInt64();
break;
}
case 16: {
NStateTime = input.ReadInt64();
break;
}
}
}
}
#endif
}
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class AmmoInfo : pb::IMessage<AmmoInfo>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<AmmoInfo> _parser = new pb::MessageParser<AmmoInfo>(() => new AmmoInfo());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<AmmoInfo> Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pbr::MessageDescriptor Descriptor {
get { return global::Nova.Client.Roguelike.RoguelikeTempDataReflection.Descriptor.MessageTypes[4]; }
}
[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 AmmoInfo() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public AmmoInfo(AmmoInfo other) : this() {
nCurAmmo_ = other.nCurAmmo_;
nAmmo1_ = other.nAmmo1_;
nAmmo2_ = other.nAmmo2_;
nAmmo3_ = other.nAmmo3_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public AmmoInfo Clone() {
return new AmmoInfo(this);
}
/// <summary>Field number for the "nCurAmmo" field.</summary>
public const int NCurAmmoFieldNumber = 1;
private long nCurAmmo_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public long NCurAmmo {
get { return nCurAmmo_; }
set {
nCurAmmo_ = value;
}
}
/// <summary>Field number for the "nAmmo1" field.</summary>
public const int NAmmo1FieldNumber = 2;
private long nAmmo1_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public long NAmmo1 {
get { return nAmmo1_; }
set {
nAmmo1_ = value;
}
}
/// <summary>Field number for the "nAmmo2" field.</summary>
public const int NAmmo2FieldNumber = 3;
private long nAmmo2_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public long NAmmo2 {
get { return nAmmo2_; }
set {
nAmmo2_ = value;
}
}
/// <summary>Field number for the "nAmmo3" field.</summary>
public const int NAmmo3FieldNumber = 4;
private long nAmmo3_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public long NAmmo3 {
get { return nAmmo3_; }
set {
nAmmo3_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as AmmoInfo);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(AmmoInfo other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (NCurAmmo != other.NCurAmmo) return false;
if (NAmmo1 != other.NAmmo1) return false;
if (NAmmo2 != other.NAmmo2) return false;
if (NAmmo3 != other.NAmmo3) 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 (NCurAmmo != 0L) hash ^= NCurAmmo.GetHashCode();
if (NAmmo1 != 0L) hash ^= NAmmo1.GetHashCode();
if (NAmmo2 != 0L) hash ^= NAmmo2.GetHashCode();
if (NAmmo3 != 0L) hash ^= NAmmo3.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 (NCurAmmo != 0L) {
output.WriteRawTag(8);
output.WriteInt64(NCurAmmo);
}
if (NAmmo1 != 0L) {
output.WriteRawTag(16);
output.WriteInt64(NAmmo1);
}
if (NAmmo2 != 0L) {
output.WriteRawTag(24);
output.WriteInt64(NAmmo2);
}
if (NAmmo3 != 0L) {
output.WriteRawTag(32);
output.WriteInt64(NAmmo3);
}
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 (NCurAmmo != 0L) {
output.WriteRawTag(8);
output.WriteInt64(NCurAmmo);
}
if (NAmmo1 != 0L) {
output.WriteRawTag(16);
output.WriteInt64(NAmmo1);
}
if (NAmmo2 != 0L) {
output.WriteRawTag(24);
output.WriteInt64(NAmmo2);
}
if (NAmmo3 != 0L) {
output.WriteRawTag(32);
output.WriteInt64(NAmmo3);
}
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 (NCurAmmo != 0L) {
size += 1 + pb::CodedOutputStream.ComputeInt64Size(NCurAmmo);
}
if (NAmmo1 != 0L) {
size += 1 + pb::CodedOutputStream.ComputeInt64Size(NAmmo1);
}
if (NAmmo2 != 0L) {
size += 1 + pb::CodedOutputStream.ComputeInt64Size(NAmmo2);
}
if (NAmmo3 != 0L) {
size += 1 + pb::CodedOutputStream.ComputeInt64Size(NAmmo3);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(AmmoInfo other) {
if (other == null) {
return;
}
if (other.NCurAmmo != 0L) {
NCurAmmo = other.NCurAmmo;
}
if (other.NAmmo1 != 0L) {
NAmmo1 = other.NAmmo1;
}
if (other.NAmmo2 != 0L) {
NAmmo2 = other.NAmmo2;
}
if (other.NAmmo3 != 0L) {
NAmmo3 = other.NAmmo3;
}
_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: {
NCurAmmo = input.ReadInt64();
break;
}
case 16: {
NAmmo1 = input.ReadInt64();
break;
}
case 24: {
NAmmo2 = input.ReadInt64();
break;
}
case 32: {
NAmmo3 = input.ReadInt64();
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: {
NCurAmmo = input.ReadInt64();
break;
}
case 16: {
NAmmo1 = input.ReadInt64();
break;
}
case 24: {
NAmmo2 = input.ReadInt64();
break;
}
case 32: {
NAmmo3 = input.ReadInt64();
break;
}
}
}
}
#endif
}
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class Character : pb::IMessage<Character>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<Character> _parser = new pb::MessageParser<Character>(() => new Character());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<Character> Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pbr::MessageDescriptor Descriptor {
get { return global::Nova.Client.Roguelike.RoguelikeTempDataReflection.Descriptor.MessageTypes[5]; }
}
[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 Character() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public Character(Character other) : this() {
nCharId_ = other.nCharId_;
tbEffect_ = other.tbEffect_.Clone();
tbBuff_ = other.tbBuff_.Clone();
stateInfo_ = other.stateInfo_ != null ? other.stateInfo_.Clone() : null;
ammoInfo_ = other.ammoInfo_ != null ? other.ammoInfo_.Clone() : null;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public Character Clone() {
return new Character(this);
}
/// <summary>Field number for the "nCharId" field.</summary>
public const int NCharIdFieldNumber = 1;
private long nCharId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public long NCharId {
get { return nCharId_; }
set {
nCharId_ = value;
}
}
/// <summary>Field number for the "tbEffect" field.</summary>
public const int TbEffectFieldNumber = 2;
private static readonly pb::FieldCodec<global::Nova.Client.Roguelike.Effect> _repeated_tbEffect_codec
= pb::FieldCodec.ForMessage(18, global::Nova.Client.Roguelike.Effect.Parser);
private readonly pbc::RepeatedField<global::Nova.Client.Roguelike.Effect> tbEffect_ = new pbc::RepeatedField<global::Nova.Client.Roguelike.Effect>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<global::Nova.Client.Roguelike.Effect> TbEffect {
get { return tbEffect_; }
}
/// <summary>Field number for the "tbBuff" field.</summary>
public const int TbBuffFieldNumber = 3;
private static readonly pb::FieldCodec<global::Nova.Client.Roguelike.BuffInfo> _repeated_tbBuff_codec
= pb::FieldCodec.ForMessage(26, global::Nova.Client.Roguelike.BuffInfo.Parser);
private readonly pbc::RepeatedField<global::Nova.Client.Roguelike.BuffInfo> tbBuff_ = new pbc::RepeatedField<global::Nova.Client.Roguelike.BuffInfo>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<global::Nova.Client.Roguelike.BuffInfo> TbBuff {
get { return tbBuff_; }
}
/// <summary>Field number for the "stateInfo" field.</summary>
public const int StateInfoFieldNumber = 4;
private global::Nova.Client.Roguelike.SkillState stateInfo_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::Nova.Client.Roguelike.SkillState StateInfo {
get { return stateInfo_; }
set {
stateInfo_ = value;
}
}
/// <summary>Field number for the "ammoInfo" field.</summary>
public const int AmmoInfoFieldNumber = 5;
private global::Nova.Client.Roguelike.AmmoInfo ammoInfo_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::Nova.Client.Roguelike.AmmoInfo AmmoInfo {
get { return ammoInfo_; }
set {
ammoInfo_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as Character);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(Character other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (NCharId != other.NCharId) return false;
if(!tbEffect_.Equals(other.tbEffect_)) return false;
if(!tbBuff_.Equals(other.tbBuff_)) return false;
if (!object.Equals(StateInfo, other.StateInfo)) return false;
if (!object.Equals(AmmoInfo, other.AmmoInfo)) 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 (NCharId != 0L) hash ^= NCharId.GetHashCode();
hash ^= tbEffect_.GetHashCode();
hash ^= tbBuff_.GetHashCode();
if (stateInfo_ != null) hash ^= StateInfo.GetHashCode();
if (ammoInfo_ != null) hash ^= AmmoInfo.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 (NCharId != 0L) {
output.WriteRawTag(8);
output.WriteInt64(NCharId);
}
tbEffect_.WriteTo(output, _repeated_tbEffect_codec);
tbBuff_.WriteTo(output, _repeated_tbBuff_codec);
if (stateInfo_ != null) {
output.WriteRawTag(34);
output.WriteMessage(StateInfo);
}
if (ammoInfo_ != null) {
output.WriteRawTag(42);
output.WriteMessage(AmmoInfo);
}
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 (NCharId != 0L) {
output.WriteRawTag(8);
output.WriteInt64(NCharId);
}
tbEffect_.WriteTo(ref output, _repeated_tbEffect_codec);
tbBuff_.WriteTo(ref output, _repeated_tbBuff_codec);
if (stateInfo_ != null) {
output.WriteRawTag(34);
output.WriteMessage(StateInfo);
}
if (ammoInfo_ != null) {
output.WriteRawTag(42);
output.WriteMessage(AmmoInfo);
}
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 (NCharId != 0L) {
size += 1 + pb::CodedOutputStream.ComputeInt64Size(NCharId);
}
size += tbEffect_.CalculateSize(_repeated_tbEffect_codec);
size += tbBuff_.CalculateSize(_repeated_tbBuff_codec);
if (stateInfo_ != null) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(StateInfo);
}
if (ammoInfo_ != null) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(AmmoInfo);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(Character other) {
if (other == null) {
return;
}
if (other.NCharId != 0L) {
NCharId = other.NCharId;
}
tbEffect_.Add(other.tbEffect_);
tbBuff_.Add(other.tbBuff_);
if (other.stateInfo_ != null) {
if (stateInfo_ == null) {
StateInfo = new global::Nova.Client.Roguelike.SkillState();
}
StateInfo.MergeFrom(other.StateInfo);
}
if (other.ammoInfo_ != null) {
if (ammoInfo_ == null) {
AmmoInfo = new global::Nova.Client.Roguelike.AmmoInfo();
}
AmmoInfo.MergeFrom(other.AmmoInfo);
}
_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: {
NCharId = input.ReadInt64();
break;
}
case 18: {
tbEffect_.AddEntriesFrom(input, _repeated_tbEffect_codec);
break;
}
case 26: {
tbBuff_.AddEntriesFrom(input, _repeated_tbBuff_codec);
break;
}
case 34: {
if (stateInfo_ == null) {
StateInfo = new global::Nova.Client.Roguelike.SkillState();
}
input.ReadMessage(StateInfo);
break;
}
case 42: {
if (ammoInfo_ == null) {
AmmoInfo = new global::Nova.Client.Roguelike.AmmoInfo();
}
input.ReadMessage(AmmoInfo);
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: {
NCharId = input.ReadInt64();
break;
}
case 18: {
tbEffect_.AddEntriesFrom(ref input, _repeated_tbEffect_codec);
break;
}
case 26: {
tbBuff_.AddEntriesFrom(ref input, _repeated_tbBuff_codec);
break;
}
case 34: {
if (stateInfo_ == null) {
StateInfo = new global::Nova.Client.Roguelike.SkillState();
}
input.ReadMessage(StateInfo);
break;
}
case 42: {
if (ammoInfo_ == null) {
AmmoInfo = new global::Nova.Client.Roguelike.AmmoInfo();
}
input.ReadMessage(AmmoInfo);
break;
}
}
}
}
#endif
}
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class tempData : pb::IMessage<tempData>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<tempData> _parser = new pb::MessageParser<tempData>(() => new tempData());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<tempData> Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pbr::MessageDescriptor Descriptor {
get { return global::Nova.Client.Roguelike.RoguelikeTempDataReflection.Descriptor.MessageTypes[6]; }
}
[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 tempData() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public tempData(tempData other) : this() {
curCharId_ = other.curCharId_;
skillInfo_ = other.skillInfo_.Clone();
characterInfo_ = other.characterInfo_.Clone();
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public tempData Clone() {
return new tempData(this);
}
/// <summary>Field number for the "curCharId" field.</summary>
public const int CurCharIdFieldNumber = 1;
private long curCharId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public long CurCharId {
get { return curCharId_; }
set {
curCharId_ = value;
}
}
/// <summary>Field number for the "skillInfo" field.</summary>
public const int SkillInfoFieldNumber = 2;
private static readonly pb::FieldCodec<global::Nova.Client.Roguelike.Skill> _repeated_skillInfo_codec
= pb::FieldCodec.ForMessage(18, global::Nova.Client.Roguelike.Skill.Parser);
private readonly pbc::RepeatedField<global::Nova.Client.Roguelike.Skill> skillInfo_ = new pbc::RepeatedField<global::Nova.Client.Roguelike.Skill>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<global::Nova.Client.Roguelike.Skill> SkillInfo {
get { return skillInfo_; }
}
/// <summary>Field number for the "characterInfo" field.</summary>
public const int CharacterInfoFieldNumber = 3;
private static readonly pb::FieldCodec<global::Nova.Client.Roguelike.Character> _repeated_characterInfo_codec
= pb::FieldCodec.ForMessage(26, global::Nova.Client.Roguelike.Character.Parser);
private readonly pbc::RepeatedField<global::Nova.Client.Roguelike.Character> characterInfo_ = new pbc::RepeatedField<global::Nova.Client.Roguelike.Character>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<global::Nova.Client.Roguelike.Character> CharacterInfo {
get { return characterInfo_; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as tempData);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(tempData other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (CurCharId != other.CurCharId) return false;
if(!skillInfo_.Equals(other.skillInfo_)) return false;
if(!characterInfo_.Equals(other.characterInfo_)) 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 (CurCharId != 0L) hash ^= CurCharId.GetHashCode();
hash ^= skillInfo_.GetHashCode();
hash ^= characterInfo_.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 (CurCharId != 0L) {
output.WriteRawTag(8);
output.WriteInt64(CurCharId);
}
skillInfo_.WriteTo(output, _repeated_skillInfo_codec);
characterInfo_.WriteTo(output, _repeated_characterInfo_codec);
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 (CurCharId != 0L) {
output.WriteRawTag(8);
output.WriteInt64(CurCharId);
}
skillInfo_.WriteTo(ref output, _repeated_skillInfo_codec);
characterInfo_.WriteTo(ref output, _repeated_characterInfo_codec);
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 (CurCharId != 0L) {
size += 1 + pb::CodedOutputStream.ComputeInt64Size(CurCharId);
}
size += skillInfo_.CalculateSize(_repeated_skillInfo_codec);
size += characterInfo_.CalculateSize(_repeated_characterInfo_codec);
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(tempData other) {
if (other == null) {
return;
}
if (other.CurCharId != 0L) {
CurCharId = other.CurCharId;
}
skillInfo_.Add(other.skillInfo_);
characterInfo_.Add(other.characterInfo_);
_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: {
CurCharId = input.ReadInt64();
break;
}
case 18: {
skillInfo_.AddEntriesFrom(input, _repeated_skillInfo_codec);
break;
}
case 26: {
characterInfo_.AddEntriesFrom(input, _repeated_characterInfo_codec);
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: {
CurCharId = input.ReadInt64();
break;
}
case 18: {
skillInfo_.AddEntriesFrom(ref input, _repeated_skillInfo_codec);
break;
}
case 26: {
characterInfo_.AddEntriesFrom(ref input, _repeated_characterInfo_codec);
break;
}
}
}
}
#endif
}
#endregion
}
#endregion Designer generated code