Files
Novaria/Novaria.Common/Protos/BuffValue.cs

720 lines
23 KiB
C#

// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: BuffValue.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 {
/// <summary>Holder for reflection information generated from BuffValue.proto</summary>
public static partial class BuffValueReflection {
#region Descriptor
/// <summary>File descriptor for BuffValue.proto</summary>
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static BuffValueReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"Cg9CdWZmVmFsdWUucHJvdG8ikgIKCUJ1ZmZWYWx1ZRIKCgJpZBgBIAEoBRIM",
"CgRuYW1lGAIgASgJEgwKBHNvcnQYAyABKAUSFAoMYnVmZl9lZmZlY3RzGAQg",
"AygFEgwKBHRpbWUYBSABKAUSFQoNbGFtaW5hdGVkX251bRgGIAEoBRILCgNu",
"dW0YByABKAUSGgoSdGltZV9zdXBlcnBvc2l0aW9uGAggASgFEg4KBnRpbWlu",
"ZxgJIAEoBRIUCgxyZXBsYWNlX3R5cGUYCiABKAgSFAoMYXR0YWNrX2NsZWFy",
"GAsgASgIEhEKCWhpdF9jbGVhchgMIAEoCBISCgppc19pbmhlcml0GA0gASgI",
"EhYKDmlzX2V4aXRfZGVsZXRlGA4gASgIQg6qAgtOb3ZhLkNsaWVudGIGcHJv",
"dG8z"));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { },
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.BuffValue), global::Nova.Client.BuffValue.Parser, new[]{ "Id", "Name", "Sort", "BuffEffects", "Time", "LaminatedNum", "Num", "TimeSuperposition", "Timing", "ReplaceType", "AttackClear", "HitClear", "IsInherit", "IsExitDelete" }, null, null, null, null)
}));
}
#endregion
}
#region Messages
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class BuffValue : pb::IMessage<BuffValue>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<BuffValue> _parser = new pb::MessageParser<BuffValue>(() => new BuffValue());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<BuffValue> 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.BuffValueReflection.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 BuffValue() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public BuffValue(BuffValue other) : this() {
id_ = other.id_;
name_ = other.name_;
sort_ = other.sort_;
buffEffects_ = other.buffEffects_.Clone();
time_ = other.time_;
laminatedNum_ = other.laminatedNum_;
num_ = other.num_;
timeSuperposition_ = other.timeSuperposition_;
timing_ = other.timing_;
replaceType_ = other.replaceType_;
attackClear_ = other.attackClear_;
hitClear_ = other.hitClear_;
isInherit_ = other.isInherit_;
isExitDelete_ = other.isExitDelete_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public BuffValue Clone() {
return new BuffValue(this);
}
/// <summary>Field number for the "id" field.</summary>
public const int IdFieldNumber = 1;
private int id_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int Id {
get { return id_; }
set {
id_ = value;
}
}
/// <summary>Field number for the "name" field.</summary>
public const int NameFieldNumber = 2;
private string name_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string Name {
get { return name_; }
set {
name_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "sort" field.</summary>
public const int SortFieldNumber = 3;
private int sort_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int Sort {
get { return sort_; }
set {
sort_ = value;
}
}
/// <summary>Field number for the "buff_effects" field.</summary>
public const int BuffEffectsFieldNumber = 4;
private static readonly pb::FieldCodec<int> _repeated_buffEffects_codec
= pb::FieldCodec.ForInt32(34);
private readonly pbc::RepeatedField<int> buffEffects_ = new pbc::RepeatedField<int>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<int> BuffEffects {
get { return buffEffects_; }
}
/// <summary>Field number for the "time" field.</summary>
public const int TimeFieldNumber = 5;
private int time_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int Time {
get { return time_; }
set {
time_ = value;
}
}
/// <summary>Field number for the "laminated_num" field.</summary>
public const int LaminatedNumFieldNumber = 6;
private int laminatedNum_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int LaminatedNum {
get { return laminatedNum_; }
set {
laminatedNum_ = value;
}
}
/// <summary>Field number for the "num" field.</summary>
public const int NumFieldNumber = 7;
private int num_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int Num {
get { return num_; }
set {
num_ = value;
}
}
/// <summary>Field number for the "time_superposition" field.</summary>
public const int TimeSuperpositionFieldNumber = 8;
private int timeSuperposition_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int TimeSuperposition {
get { return timeSuperposition_; }
set {
timeSuperposition_ = value;
}
}
/// <summary>Field number for the "timing" field.</summary>
public const int TimingFieldNumber = 9;
private int timing_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int Timing {
get { return timing_; }
set {
timing_ = value;
}
}
/// <summary>Field number for the "replace_type" field.</summary>
public const int ReplaceTypeFieldNumber = 10;
private bool replaceType_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool ReplaceType {
get { return replaceType_; }
set {
replaceType_ = value;
}
}
/// <summary>Field number for the "attack_clear" field.</summary>
public const int AttackClearFieldNumber = 11;
private bool attackClear_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool AttackClear {
get { return attackClear_; }
set {
attackClear_ = value;
}
}
/// <summary>Field number for the "hit_clear" field.</summary>
public const int HitClearFieldNumber = 12;
private bool hitClear_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool HitClear {
get { return hitClear_; }
set {
hitClear_ = value;
}
}
/// <summary>Field number for the "is_inherit" field.</summary>
public const int IsInheritFieldNumber = 13;
private bool isInherit_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool IsInherit {
get { return isInherit_; }
set {
isInherit_ = value;
}
}
/// <summary>Field number for the "is_exit_delete" field.</summary>
public const int IsExitDeleteFieldNumber = 14;
private bool isExitDelete_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool IsExitDelete {
get { return isExitDelete_; }
set {
isExitDelete_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as BuffValue);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(BuffValue other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Id != other.Id) return false;
if (Name != other.Name) return false;
if (Sort != other.Sort) return false;
if(!buffEffects_.Equals(other.buffEffects_)) return false;
if (Time != other.Time) return false;
if (LaminatedNum != other.LaminatedNum) return false;
if (Num != other.Num) return false;
if (TimeSuperposition != other.TimeSuperposition) return false;
if (Timing != other.Timing) return false;
if (ReplaceType != other.ReplaceType) return false;
if (AttackClear != other.AttackClear) return false;
if (HitClear != other.HitClear) return false;
if (IsInherit != other.IsInherit) return false;
if (IsExitDelete != other.IsExitDelete) 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 (Name.Length != 0) hash ^= Name.GetHashCode();
if (Sort != 0) hash ^= Sort.GetHashCode();
hash ^= buffEffects_.GetHashCode();
if (Time != 0) hash ^= Time.GetHashCode();
if (LaminatedNum != 0) hash ^= LaminatedNum.GetHashCode();
if (Num != 0) hash ^= Num.GetHashCode();
if (TimeSuperposition != 0) hash ^= TimeSuperposition.GetHashCode();
if (Timing != 0) hash ^= Timing.GetHashCode();
if (ReplaceType != false) hash ^= ReplaceType.GetHashCode();
if (AttackClear != false) hash ^= AttackClear.GetHashCode();
if (HitClear != false) hash ^= HitClear.GetHashCode();
if (IsInherit != false) hash ^= IsInherit.GetHashCode();
if (IsExitDelete != false) hash ^= IsExitDelete.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.WriteInt32(Id);
}
if (Name.Length != 0) {
output.WriteRawTag(18);
output.WriteString(Name);
}
if (Sort != 0) {
output.WriteRawTag(24);
output.WriteInt32(Sort);
}
buffEffects_.WriteTo(output, _repeated_buffEffects_codec);
if (Time != 0) {
output.WriteRawTag(40);
output.WriteInt32(Time);
}
if (LaminatedNum != 0) {
output.WriteRawTag(48);
output.WriteInt32(LaminatedNum);
}
if (Num != 0) {
output.WriteRawTag(56);
output.WriteInt32(Num);
}
if (TimeSuperposition != 0) {
output.WriteRawTag(64);
output.WriteInt32(TimeSuperposition);
}
if (Timing != 0) {
output.WriteRawTag(72);
output.WriteInt32(Timing);
}
if (ReplaceType != false) {
output.WriteRawTag(80);
output.WriteBool(ReplaceType);
}
if (AttackClear != false) {
output.WriteRawTag(88);
output.WriteBool(AttackClear);
}
if (HitClear != false) {
output.WriteRawTag(96);
output.WriteBool(HitClear);
}
if (IsInherit != false) {
output.WriteRawTag(104);
output.WriteBool(IsInherit);
}
if (IsExitDelete != false) {
output.WriteRawTag(112);
output.WriteBool(IsExitDelete);
}
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.WriteInt32(Id);
}
if (Name.Length != 0) {
output.WriteRawTag(18);
output.WriteString(Name);
}
if (Sort != 0) {
output.WriteRawTag(24);
output.WriteInt32(Sort);
}
buffEffects_.WriteTo(ref output, _repeated_buffEffects_codec);
if (Time != 0) {
output.WriteRawTag(40);
output.WriteInt32(Time);
}
if (LaminatedNum != 0) {
output.WriteRawTag(48);
output.WriteInt32(LaminatedNum);
}
if (Num != 0) {
output.WriteRawTag(56);
output.WriteInt32(Num);
}
if (TimeSuperposition != 0) {
output.WriteRawTag(64);
output.WriteInt32(TimeSuperposition);
}
if (Timing != 0) {
output.WriteRawTag(72);
output.WriteInt32(Timing);
}
if (ReplaceType != false) {
output.WriteRawTag(80);
output.WriteBool(ReplaceType);
}
if (AttackClear != false) {
output.WriteRawTag(88);
output.WriteBool(AttackClear);
}
if (HitClear != false) {
output.WriteRawTag(96);
output.WriteBool(HitClear);
}
if (IsInherit != false) {
output.WriteRawTag(104);
output.WriteBool(IsInherit);
}
if (IsExitDelete != false) {
output.WriteRawTag(112);
output.WriteBool(IsExitDelete);
}
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.ComputeInt32Size(Id);
}
if (Name.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(Name);
}
if (Sort != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Sort);
}
size += buffEffects_.CalculateSize(_repeated_buffEffects_codec);
if (Time != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Time);
}
if (LaminatedNum != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(LaminatedNum);
}
if (Num != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Num);
}
if (TimeSuperposition != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(TimeSuperposition);
}
if (Timing != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Timing);
}
if (ReplaceType != false) {
size += 1 + 1;
}
if (AttackClear != false) {
size += 1 + 1;
}
if (HitClear != false) {
size += 1 + 1;
}
if (IsInherit != false) {
size += 1 + 1;
}
if (IsExitDelete != false) {
size += 1 + 1;
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(BuffValue other) {
if (other == null) {
return;
}
if (other.Id != 0) {
Id = other.Id;
}
if (other.Name.Length != 0) {
Name = other.Name;
}
if (other.Sort != 0) {
Sort = other.Sort;
}
buffEffects_.Add(other.buffEffects_);
if (other.Time != 0) {
Time = other.Time;
}
if (other.LaminatedNum != 0) {
LaminatedNum = other.LaminatedNum;
}
if (other.Num != 0) {
Num = other.Num;
}
if (other.TimeSuperposition != 0) {
TimeSuperposition = other.TimeSuperposition;
}
if (other.Timing != 0) {
Timing = other.Timing;
}
if (other.ReplaceType != false) {
ReplaceType = other.ReplaceType;
}
if (other.AttackClear != false) {
AttackClear = other.AttackClear;
}
if (other.HitClear != false) {
HitClear = other.HitClear;
}
if (other.IsInherit != false) {
IsInherit = other.IsInherit;
}
if (other.IsExitDelete != false) {
IsExitDelete = other.IsExitDelete;
}
_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.ReadInt32();
break;
}
case 18: {
Name = input.ReadString();
break;
}
case 24: {
Sort = input.ReadInt32();
break;
}
case 34:
case 32: {
buffEffects_.AddEntriesFrom(input, _repeated_buffEffects_codec);
break;
}
case 40: {
Time = input.ReadInt32();
break;
}
case 48: {
LaminatedNum = input.ReadInt32();
break;
}
case 56: {
Num = input.ReadInt32();
break;
}
case 64: {
TimeSuperposition = input.ReadInt32();
break;
}
case 72: {
Timing = input.ReadInt32();
break;
}
case 80: {
ReplaceType = input.ReadBool();
break;
}
case 88: {
AttackClear = input.ReadBool();
break;
}
case 96: {
HitClear = input.ReadBool();
break;
}
case 104: {
IsInherit = input.ReadBool();
break;
}
case 112: {
IsExitDelete = input.ReadBool();
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.ReadInt32();
break;
}
case 18: {
Name = input.ReadString();
break;
}
case 24: {
Sort = input.ReadInt32();
break;
}
case 34:
case 32: {
buffEffects_.AddEntriesFrom(ref input, _repeated_buffEffects_codec);
break;
}
case 40: {
Time = input.ReadInt32();
break;
}
case 48: {
LaminatedNum = input.ReadInt32();
break;
}
case 56: {
Num = input.ReadInt32();
break;
}
case 64: {
TimeSuperposition = input.ReadInt32();
break;
}
case 72: {
Timing = input.ReadInt32();
break;
}
case 80: {
ReplaceType = input.ReadBool();
break;
}
case 88: {
AttackClear = input.ReadBool();
break;
}
case 96: {
HitClear = input.ReadBool();
break;
}
case 104: {
IsInherit = input.ReadBool();
break;
}
case 112: {
IsExitDelete = input.ReadBool();
break;
}
}
}
}
#endif
}
#endregion
}
#endregion Designer generated code