Files
Novaria/Novaria.Common/Protos/RegionBossAffix.cs

561 lines
18 KiB
C#

// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: RegionBossAffix.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 RegionBossAffix.proto</summary>
public static partial class RegionBossAffixReflection {
#region Descriptor
/// <summary>File descriptor for RegionBossAffix.proto</summary>
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static RegionBossAffixReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"ChVSZWdpb25Cb3NzQWZmaXgucHJvdG8isAEKD1JlZ2lvbkJvc3NBZmZpeBIK",
"CgJpZBgBIAEoBRIQCghncm91cF9pZBgCIAEoBRINCgVsZXZlbBgDIAEoBRIM",
"CgRuYW1lGAQgASgJEgwKBGRlc2MYBSABKAkSDAoEaWNvbhgGIAEoCRIPCgdl",
"bGVtZW50GAcgASgFEhAKCGFkZF9jYW1wGAggAygFEhEKCWFkZF9jbGFzcxgJ",
"IAMoBRIQCghza2lsbF9pZBgKIAEoBUIOqgILTm92YS5DbGllbnRiBnByb3Rv",
"Mw=="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { },
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.RegionBossAffix), global::Nova.Client.RegionBossAffix.Parser, new[]{ "Id", "GroupId", "Level", "Name", "Desc", "Icon", "Element", "AddCamp", "AddClass", "SkillId" }, null, null, null, null)
}));
}
#endregion
}
#region Messages
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class RegionBossAffix : pb::IMessage<RegionBossAffix>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<RegionBossAffix> _parser = new pb::MessageParser<RegionBossAffix>(() => new RegionBossAffix());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<RegionBossAffix> 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.RegionBossAffixReflection.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 RegionBossAffix() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public RegionBossAffix(RegionBossAffix other) : this() {
id_ = other.id_;
groupId_ = other.groupId_;
level_ = other.level_;
name_ = other.name_;
desc_ = other.desc_;
icon_ = other.icon_;
element_ = other.element_;
addCamp_ = other.addCamp_.Clone();
addClass_ = other.addClass_.Clone();
skillId_ = other.skillId_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public RegionBossAffix Clone() {
return new RegionBossAffix(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 "group_id" field.</summary>
public const int GroupIdFieldNumber = 2;
private int groupId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int GroupId {
get { return groupId_; }
set {
groupId_ = value;
}
}
/// <summary>Field number for the "level" field.</summary>
public const int LevelFieldNumber = 3;
private int level_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int Level {
get { return level_; }
set {
level_ = value;
}
}
/// <summary>Field number for the "name" field.</summary>
public const int NameFieldNumber = 4;
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 "desc" field.</summary>
public const int DescFieldNumber = 5;
private string desc_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string Desc {
get { return desc_; }
set {
desc_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "icon" field.</summary>
public const int IconFieldNumber = 6;
private string icon_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string Icon {
get { return icon_; }
set {
icon_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "element" field.</summary>
public const int ElementFieldNumber = 7;
private int element_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int Element {
get { return element_; }
set {
element_ = value;
}
}
/// <summary>Field number for the "add_camp" field.</summary>
public const int AddCampFieldNumber = 8;
private static readonly pb::FieldCodec<int> _repeated_addCamp_codec
= pb::FieldCodec.ForInt32(66);
private readonly pbc::RepeatedField<int> addCamp_ = new pbc::RepeatedField<int>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<int> AddCamp {
get { return addCamp_; }
}
/// <summary>Field number for the "add_class" field.</summary>
public const int AddClassFieldNumber = 9;
private static readonly pb::FieldCodec<int> _repeated_addClass_codec
= pb::FieldCodec.ForInt32(74);
private readonly pbc::RepeatedField<int> addClass_ = new pbc::RepeatedField<int>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<int> AddClass {
get { return addClass_; }
}
/// <summary>Field number for the "skill_id" field.</summary>
public const int SkillIdFieldNumber = 10;
private int skillId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int SkillId {
get { return skillId_; }
set {
skillId_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as RegionBossAffix);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(RegionBossAffix other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Id != other.Id) return false;
if (GroupId != other.GroupId) return false;
if (Level != other.Level) return false;
if (Name != other.Name) return false;
if (Desc != other.Desc) return false;
if (Icon != other.Icon) return false;
if (Element != other.Element) return false;
if(!addCamp_.Equals(other.addCamp_)) return false;
if(!addClass_.Equals(other.addClass_)) return false;
if (SkillId != other.SkillId) 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 (GroupId != 0) hash ^= GroupId.GetHashCode();
if (Level != 0) hash ^= Level.GetHashCode();
if (Name.Length != 0) hash ^= Name.GetHashCode();
if (Desc.Length != 0) hash ^= Desc.GetHashCode();
if (Icon.Length != 0) hash ^= Icon.GetHashCode();
if (Element != 0) hash ^= Element.GetHashCode();
hash ^= addCamp_.GetHashCode();
hash ^= addClass_.GetHashCode();
if (SkillId != 0) hash ^= SkillId.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 (GroupId != 0) {
output.WriteRawTag(16);
output.WriteInt32(GroupId);
}
if (Level != 0) {
output.WriteRawTag(24);
output.WriteInt32(Level);
}
if (Name.Length != 0) {
output.WriteRawTag(34);
output.WriteString(Name);
}
if (Desc.Length != 0) {
output.WriteRawTag(42);
output.WriteString(Desc);
}
if (Icon.Length != 0) {
output.WriteRawTag(50);
output.WriteString(Icon);
}
if (Element != 0) {
output.WriteRawTag(56);
output.WriteInt32(Element);
}
addCamp_.WriteTo(output, _repeated_addCamp_codec);
addClass_.WriteTo(output, _repeated_addClass_codec);
if (SkillId != 0) {
output.WriteRawTag(80);
output.WriteInt32(SkillId);
}
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 (GroupId != 0) {
output.WriteRawTag(16);
output.WriteInt32(GroupId);
}
if (Level != 0) {
output.WriteRawTag(24);
output.WriteInt32(Level);
}
if (Name.Length != 0) {
output.WriteRawTag(34);
output.WriteString(Name);
}
if (Desc.Length != 0) {
output.WriteRawTag(42);
output.WriteString(Desc);
}
if (Icon.Length != 0) {
output.WriteRawTag(50);
output.WriteString(Icon);
}
if (Element != 0) {
output.WriteRawTag(56);
output.WriteInt32(Element);
}
addCamp_.WriteTo(ref output, _repeated_addCamp_codec);
addClass_.WriteTo(ref output, _repeated_addClass_codec);
if (SkillId != 0) {
output.WriteRawTag(80);
output.WriteInt32(SkillId);
}
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 (GroupId != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(GroupId);
}
if (Level != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Level);
}
if (Name.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(Name);
}
if (Desc.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(Desc);
}
if (Icon.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(Icon);
}
if (Element != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Element);
}
size += addCamp_.CalculateSize(_repeated_addCamp_codec);
size += addClass_.CalculateSize(_repeated_addClass_codec);
if (SkillId != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(SkillId);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(RegionBossAffix other) {
if (other == null) {
return;
}
if (other.Id != 0) {
Id = other.Id;
}
if (other.GroupId != 0) {
GroupId = other.GroupId;
}
if (other.Level != 0) {
Level = other.Level;
}
if (other.Name.Length != 0) {
Name = other.Name;
}
if (other.Desc.Length != 0) {
Desc = other.Desc;
}
if (other.Icon.Length != 0) {
Icon = other.Icon;
}
if (other.Element != 0) {
Element = other.Element;
}
addCamp_.Add(other.addCamp_);
addClass_.Add(other.addClass_);
if (other.SkillId != 0) {
SkillId = other.SkillId;
}
_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 16: {
GroupId = input.ReadInt32();
break;
}
case 24: {
Level = input.ReadInt32();
break;
}
case 34: {
Name = input.ReadString();
break;
}
case 42: {
Desc = input.ReadString();
break;
}
case 50: {
Icon = input.ReadString();
break;
}
case 56: {
Element = input.ReadInt32();
break;
}
case 66:
case 64: {
addCamp_.AddEntriesFrom(input, _repeated_addCamp_codec);
break;
}
case 74:
case 72: {
addClass_.AddEntriesFrom(input, _repeated_addClass_codec);
break;
}
case 80: {
SkillId = input.ReadInt32();
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 16: {
GroupId = input.ReadInt32();
break;
}
case 24: {
Level = input.ReadInt32();
break;
}
case 34: {
Name = input.ReadString();
break;
}
case 42: {
Desc = input.ReadString();
break;
}
case 50: {
Icon = input.ReadString();
break;
}
case 56: {
Element = input.ReadInt32();
break;
}
case 66:
case 64: {
addCamp_.AddEntriesFrom(ref input, _repeated_addCamp_codec);
break;
}
case 74:
case 72: {
addClass_.AddEntriesFrom(ref input, _repeated_addClass_codec);
break;
}
case 80: {
SkillId = input.ReadInt32();
break;
}
}
}
}
#endif
}
#endregion
}
#endregion Designer generated code