Files
Novaria/Novaria.Common/Protos/Disc.cs

1329 lines
44 KiB
C#

// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: Disc.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 Disc.proto</summary>
public static partial class DiscReflection {
#region Descriptor
/// <summary>File descriptor for Disc.proto</summary>
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static DiscReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"CgpEaXNjLnByb3RvIvkECgREaXNjEgoKAmlkGAEgASgFEg0KBWVfZV90GAIg",
"ASgFEgwKBHRhZ3MYAyADKAUSDwoHdmlzaWJsZRgEIAEoCBIRCglhdmFpbGFi",
"bGUYBSABKAgSDQoFaW1hZ2UYBiABKAkSDAoEbm90ZRgHIAMoBRIPCgdkaXNj",
"X2JnGAggASgJEgwKBGNhcmQYCSABKAkSEAoIZ2FjaGFfYmcYCiABKAkSGwoT",
"c3RyZW5ndGhlbl9ncm91cF9pZBgLIAEoBRIaChJhdHRyX2Jhc2VfZ3JvdXBf",
"aWQYDCABKAUSGAoQcHJvbW90ZV9ncm91cF9pZBgNIAEoBRIZChF0cmFuc2Zv",
"cm1faXRlbV9pZBgOIAEoBRIfChdtYXhfc3Rhcl90cmFuc2Zvcm1faXRlbRgP",
"IAMoBRIeChZwYXNzaXZlX3NraWxsX2dyb3VwX2lkGBAgASgFEhgKEGNvbW1v",
"bl9za2lsbF9pZDEYESABKAUSGAoQY29tbW9uX3NraWxsX2lkMhgSIAEoBRIT",
"CgtyZWFkX3Jld2FyZBgTIAMoBRIPCgd2b19maWxlGBQgASgJEhEKCXZvX2Jl",
"Z2luMRgVIAEoAhIQCgh2b19sb29wMRgWIAEoAhIQCgh2b19uYW1lMRgXIAEo",
"CRIRCgl2b19iZWdpbjIYGCABKAISEAoIdm9fbG9vcDIYGSABKAISEAoIdm9f",
"bmFtZTIYGiABKAkSEAoIdm9fc3RvcnkYGyABKAkSEgoKc3RvcnlfbmFtZRgc",
"IAEoCRISCgpzdG9yeV9kZXNjGB0gASgJEg8KB2NoYXJfaWQYHiABKAUSFAoM",
"c2tpbGxfc2NyaXB0GB8gASgJQg6qAgtOb3ZhLkNsaWVudGIGcHJvdG8z"));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { },
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.Disc), global::Nova.Client.Disc.Parser, new[]{ "Id", "EET", "Tags", "Visible", "Available", "Image", "Note", "DiscBg", "Card", "GachaBg", "StrengthenGroupId", "AttrBaseGroupId", "PromoteGroupId", "TransformItemId", "MaxStarTransformItem", "PassiveSkillGroupId", "CommonSkillId1", "CommonSkillId2", "ReadReward", "VoFile", "VoBegin1", "VoLoop1", "VoName1", "VoBegin2", "VoLoop2", "VoName2", "VoStory", "StoryName", "StoryDesc", "CharId", "SkillScript" }, null, null, null, null)
}));
}
#endregion
}
#region Messages
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class Disc : pb::IMessage<Disc>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<Disc> _parser = new pb::MessageParser<Disc>(() => new Disc());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<Disc> 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.DiscReflection.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 Disc() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public Disc(Disc other) : this() {
id_ = other.id_;
eET_ = other.eET_;
tags_ = other.tags_.Clone();
visible_ = other.visible_;
available_ = other.available_;
image_ = other.image_;
note_ = other.note_.Clone();
discBg_ = other.discBg_;
card_ = other.card_;
gachaBg_ = other.gachaBg_;
strengthenGroupId_ = other.strengthenGroupId_;
attrBaseGroupId_ = other.attrBaseGroupId_;
promoteGroupId_ = other.promoteGroupId_;
transformItemId_ = other.transformItemId_;
maxStarTransformItem_ = other.maxStarTransformItem_.Clone();
passiveSkillGroupId_ = other.passiveSkillGroupId_;
commonSkillId1_ = other.commonSkillId1_;
commonSkillId2_ = other.commonSkillId2_;
readReward_ = other.readReward_.Clone();
voFile_ = other.voFile_;
voBegin1_ = other.voBegin1_;
voLoop1_ = other.voLoop1_;
voName1_ = other.voName1_;
voBegin2_ = other.voBegin2_;
voLoop2_ = other.voLoop2_;
voName2_ = other.voName2_;
voStory_ = other.voStory_;
storyName_ = other.storyName_;
storyDesc_ = other.storyDesc_;
charId_ = other.charId_;
skillScript_ = other.skillScript_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public Disc Clone() {
return new Disc(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 "e_e_t" field.</summary>
public const int EETFieldNumber = 2;
private int eET_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int EET {
get { return eET_; }
set {
eET_ = value;
}
}
/// <summary>Field number for the "tags" field.</summary>
public const int TagsFieldNumber = 3;
private static readonly pb::FieldCodec<int> _repeated_tags_codec
= pb::FieldCodec.ForInt32(26);
private readonly pbc::RepeatedField<int> tags_ = new pbc::RepeatedField<int>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<int> Tags {
get { return tags_; }
}
/// <summary>Field number for the "visible" field.</summary>
public const int VisibleFieldNumber = 4;
private bool visible_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Visible {
get { return visible_; }
set {
visible_ = value;
}
}
/// <summary>Field number for the "available" field.</summary>
public const int AvailableFieldNumber = 5;
private bool available_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Available {
get { return available_; }
set {
available_ = value;
}
}
/// <summary>Field number for the "image" field.</summary>
public const int ImageFieldNumber = 6;
private string image_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string Image {
get { return image_; }
set {
image_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "note" field.</summary>
public const int NoteFieldNumber = 7;
private static readonly pb::FieldCodec<int> _repeated_note_codec
= pb::FieldCodec.ForInt32(58);
private readonly pbc::RepeatedField<int> note_ = new pbc::RepeatedField<int>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<int> Note {
get { return note_; }
}
/// <summary>Field number for the "disc_bg" field.</summary>
public const int DiscBgFieldNumber = 8;
private string discBg_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string DiscBg {
get { return discBg_; }
set {
discBg_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "card" field.</summary>
public const int CardFieldNumber = 9;
private string card_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string Card {
get { return card_; }
set {
card_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "gacha_bg" field.</summary>
public const int GachaBgFieldNumber = 10;
private string gachaBg_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string GachaBg {
get { return gachaBg_; }
set {
gachaBg_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "strengthen_group_id" field.</summary>
public const int StrengthenGroupIdFieldNumber = 11;
private int strengthenGroupId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int StrengthenGroupId {
get { return strengthenGroupId_; }
set {
strengthenGroupId_ = value;
}
}
/// <summary>Field number for the "attr_base_group_id" field.</summary>
public const int AttrBaseGroupIdFieldNumber = 12;
private int attrBaseGroupId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int AttrBaseGroupId {
get { return attrBaseGroupId_; }
set {
attrBaseGroupId_ = value;
}
}
/// <summary>Field number for the "promote_group_id" field.</summary>
public const int PromoteGroupIdFieldNumber = 13;
private int promoteGroupId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int PromoteGroupId {
get { return promoteGroupId_; }
set {
promoteGroupId_ = value;
}
}
/// <summary>Field number for the "transform_item_id" field.</summary>
public const int TransformItemIdFieldNumber = 14;
private int transformItemId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int TransformItemId {
get { return transformItemId_; }
set {
transformItemId_ = value;
}
}
/// <summary>Field number for the "max_star_transform_item" field.</summary>
public const int MaxStarTransformItemFieldNumber = 15;
private static readonly pb::FieldCodec<int> _repeated_maxStarTransformItem_codec
= pb::FieldCodec.ForInt32(122);
private readonly pbc::RepeatedField<int> maxStarTransformItem_ = new pbc::RepeatedField<int>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<int> MaxStarTransformItem {
get { return maxStarTransformItem_; }
}
/// <summary>Field number for the "passive_skill_group_id" field.</summary>
public const int PassiveSkillGroupIdFieldNumber = 16;
private int passiveSkillGroupId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int PassiveSkillGroupId {
get { return passiveSkillGroupId_; }
set {
passiveSkillGroupId_ = value;
}
}
/// <summary>Field number for the "common_skill_id1" field.</summary>
public const int CommonSkillId1FieldNumber = 17;
private int commonSkillId1_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int CommonSkillId1 {
get { return commonSkillId1_; }
set {
commonSkillId1_ = value;
}
}
/// <summary>Field number for the "common_skill_id2" field.</summary>
public const int CommonSkillId2FieldNumber = 18;
private int commonSkillId2_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int CommonSkillId2 {
get { return commonSkillId2_; }
set {
commonSkillId2_ = value;
}
}
/// <summary>Field number for the "read_reward" field.</summary>
public const int ReadRewardFieldNumber = 19;
private static readonly pb::FieldCodec<int> _repeated_readReward_codec
= pb::FieldCodec.ForInt32(154);
private readonly pbc::RepeatedField<int> readReward_ = new pbc::RepeatedField<int>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<int> ReadReward {
get { return readReward_; }
}
/// <summary>Field number for the "vo_file" field.</summary>
public const int VoFileFieldNumber = 20;
private string voFile_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string VoFile {
get { return voFile_; }
set {
voFile_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "vo_begin1" field.</summary>
public const int VoBegin1FieldNumber = 21;
private float voBegin1_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public float VoBegin1 {
get { return voBegin1_; }
set {
voBegin1_ = value;
}
}
/// <summary>Field number for the "vo_loop1" field.</summary>
public const int VoLoop1FieldNumber = 22;
private float voLoop1_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public float VoLoop1 {
get { return voLoop1_; }
set {
voLoop1_ = value;
}
}
/// <summary>Field number for the "vo_name1" field.</summary>
public const int VoName1FieldNumber = 23;
private string voName1_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string VoName1 {
get { return voName1_; }
set {
voName1_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "vo_begin2" field.</summary>
public const int VoBegin2FieldNumber = 24;
private float voBegin2_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public float VoBegin2 {
get { return voBegin2_; }
set {
voBegin2_ = value;
}
}
/// <summary>Field number for the "vo_loop2" field.</summary>
public const int VoLoop2FieldNumber = 25;
private float voLoop2_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public float VoLoop2 {
get { return voLoop2_; }
set {
voLoop2_ = value;
}
}
/// <summary>Field number for the "vo_name2" field.</summary>
public const int VoName2FieldNumber = 26;
private string voName2_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string VoName2 {
get { return voName2_; }
set {
voName2_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "vo_story" field.</summary>
public const int VoStoryFieldNumber = 27;
private string voStory_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string VoStory {
get { return voStory_; }
set {
voStory_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "story_name" field.</summary>
public const int StoryNameFieldNumber = 28;
private string storyName_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string StoryName {
get { return storyName_; }
set {
storyName_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "story_desc" field.</summary>
public const int StoryDescFieldNumber = 29;
private string storyDesc_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string StoryDesc {
get { return storyDesc_; }
set {
storyDesc_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "char_id" field.</summary>
public const int CharIdFieldNumber = 30;
private int charId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int CharId {
get { return charId_; }
set {
charId_ = value;
}
}
/// <summary>Field number for the "skill_script" field.</summary>
public const int SkillScriptFieldNumber = 31;
private string skillScript_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string SkillScript {
get { return skillScript_; }
set {
skillScript_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as Disc);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(Disc other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Id != other.Id) return false;
if (EET != other.EET) return false;
if(!tags_.Equals(other.tags_)) return false;
if (Visible != other.Visible) return false;
if (Available != other.Available) return false;
if (Image != other.Image) return false;
if(!note_.Equals(other.note_)) return false;
if (DiscBg != other.DiscBg) return false;
if (Card != other.Card) return false;
if (GachaBg != other.GachaBg) return false;
if (StrengthenGroupId != other.StrengthenGroupId) return false;
if (AttrBaseGroupId != other.AttrBaseGroupId) return false;
if (PromoteGroupId != other.PromoteGroupId) return false;
if (TransformItemId != other.TransformItemId) return false;
if(!maxStarTransformItem_.Equals(other.maxStarTransformItem_)) return false;
if (PassiveSkillGroupId != other.PassiveSkillGroupId) return false;
if (CommonSkillId1 != other.CommonSkillId1) return false;
if (CommonSkillId2 != other.CommonSkillId2) return false;
if(!readReward_.Equals(other.readReward_)) return false;
if (VoFile != other.VoFile) return false;
if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(VoBegin1, other.VoBegin1)) return false;
if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(VoLoop1, other.VoLoop1)) return false;
if (VoName1 != other.VoName1) return false;
if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(VoBegin2, other.VoBegin2)) return false;
if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(VoLoop2, other.VoLoop2)) return false;
if (VoName2 != other.VoName2) return false;
if (VoStory != other.VoStory) return false;
if (StoryName != other.StoryName) return false;
if (StoryDesc != other.StoryDesc) return false;
if (CharId != other.CharId) return false;
if (SkillScript != other.SkillScript) 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 (EET != 0) hash ^= EET.GetHashCode();
hash ^= tags_.GetHashCode();
if (Visible != false) hash ^= Visible.GetHashCode();
if (Available != false) hash ^= Available.GetHashCode();
if (Image.Length != 0) hash ^= Image.GetHashCode();
hash ^= note_.GetHashCode();
if (DiscBg.Length != 0) hash ^= DiscBg.GetHashCode();
if (Card.Length != 0) hash ^= Card.GetHashCode();
if (GachaBg.Length != 0) hash ^= GachaBg.GetHashCode();
if (StrengthenGroupId != 0) hash ^= StrengthenGroupId.GetHashCode();
if (AttrBaseGroupId != 0) hash ^= AttrBaseGroupId.GetHashCode();
if (PromoteGroupId != 0) hash ^= PromoteGroupId.GetHashCode();
if (TransformItemId != 0) hash ^= TransformItemId.GetHashCode();
hash ^= maxStarTransformItem_.GetHashCode();
if (PassiveSkillGroupId != 0) hash ^= PassiveSkillGroupId.GetHashCode();
if (CommonSkillId1 != 0) hash ^= CommonSkillId1.GetHashCode();
if (CommonSkillId2 != 0) hash ^= CommonSkillId2.GetHashCode();
hash ^= readReward_.GetHashCode();
if (VoFile.Length != 0) hash ^= VoFile.GetHashCode();
if (VoBegin1 != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(VoBegin1);
if (VoLoop1 != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(VoLoop1);
if (VoName1.Length != 0) hash ^= VoName1.GetHashCode();
if (VoBegin2 != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(VoBegin2);
if (VoLoop2 != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(VoLoop2);
if (VoName2.Length != 0) hash ^= VoName2.GetHashCode();
if (VoStory.Length != 0) hash ^= VoStory.GetHashCode();
if (StoryName.Length != 0) hash ^= StoryName.GetHashCode();
if (StoryDesc.Length != 0) hash ^= StoryDesc.GetHashCode();
if (CharId != 0) hash ^= CharId.GetHashCode();
if (SkillScript.Length != 0) hash ^= SkillScript.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 (EET != 0) {
output.WriteRawTag(16);
output.WriteInt32(EET);
}
tags_.WriteTo(output, _repeated_tags_codec);
if (Visible != false) {
output.WriteRawTag(32);
output.WriteBool(Visible);
}
if (Available != false) {
output.WriteRawTag(40);
output.WriteBool(Available);
}
if (Image.Length != 0) {
output.WriteRawTag(50);
output.WriteString(Image);
}
note_.WriteTo(output, _repeated_note_codec);
if (DiscBg.Length != 0) {
output.WriteRawTag(66);
output.WriteString(DiscBg);
}
if (Card.Length != 0) {
output.WriteRawTag(74);
output.WriteString(Card);
}
if (GachaBg.Length != 0) {
output.WriteRawTag(82);
output.WriteString(GachaBg);
}
if (StrengthenGroupId != 0) {
output.WriteRawTag(88);
output.WriteInt32(StrengthenGroupId);
}
if (AttrBaseGroupId != 0) {
output.WriteRawTag(96);
output.WriteInt32(AttrBaseGroupId);
}
if (PromoteGroupId != 0) {
output.WriteRawTag(104);
output.WriteInt32(PromoteGroupId);
}
if (TransformItemId != 0) {
output.WriteRawTag(112);
output.WriteInt32(TransformItemId);
}
maxStarTransformItem_.WriteTo(output, _repeated_maxStarTransformItem_codec);
if (PassiveSkillGroupId != 0) {
output.WriteRawTag(128, 1);
output.WriteInt32(PassiveSkillGroupId);
}
if (CommonSkillId1 != 0) {
output.WriteRawTag(136, 1);
output.WriteInt32(CommonSkillId1);
}
if (CommonSkillId2 != 0) {
output.WriteRawTag(144, 1);
output.WriteInt32(CommonSkillId2);
}
readReward_.WriteTo(output, _repeated_readReward_codec);
if (VoFile.Length != 0) {
output.WriteRawTag(162, 1);
output.WriteString(VoFile);
}
if (VoBegin1 != 0F) {
output.WriteRawTag(173, 1);
output.WriteFloat(VoBegin1);
}
if (VoLoop1 != 0F) {
output.WriteRawTag(181, 1);
output.WriteFloat(VoLoop1);
}
if (VoName1.Length != 0) {
output.WriteRawTag(186, 1);
output.WriteString(VoName1);
}
if (VoBegin2 != 0F) {
output.WriteRawTag(197, 1);
output.WriteFloat(VoBegin2);
}
if (VoLoop2 != 0F) {
output.WriteRawTag(205, 1);
output.WriteFloat(VoLoop2);
}
if (VoName2.Length != 0) {
output.WriteRawTag(210, 1);
output.WriteString(VoName2);
}
if (VoStory.Length != 0) {
output.WriteRawTag(218, 1);
output.WriteString(VoStory);
}
if (StoryName.Length != 0) {
output.WriteRawTag(226, 1);
output.WriteString(StoryName);
}
if (StoryDesc.Length != 0) {
output.WriteRawTag(234, 1);
output.WriteString(StoryDesc);
}
if (CharId != 0) {
output.WriteRawTag(240, 1);
output.WriteInt32(CharId);
}
if (SkillScript.Length != 0) {
output.WriteRawTag(250, 1);
output.WriteString(SkillScript);
}
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 (EET != 0) {
output.WriteRawTag(16);
output.WriteInt32(EET);
}
tags_.WriteTo(ref output, _repeated_tags_codec);
if (Visible != false) {
output.WriteRawTag(32);
output.WriteBool(Visible);
}
if (Available != false) {
output.WriteRawTag(40);
output.WriteBool(Available);
}
if (Image.Length != 0) {
output.WriteRawTag(50);
output.WriteString(Image);
}
note_.WriteTo(ref output, _repeated_note_codec);
if (DiscBg.Length != 0) {
output.WriteRawTag(66);
output.WriteString(DiscBg);
}
if (Card.Length != 0) {
output.WriteRawTag(74);
output.WriteString(Card);
}
if (GachaBg.Length != 0) {
output.WriteRawTag(82);
output.WriteString(GachaBg);
}
if (StrengthenGroupId != 0) {
output.WriteRawTag(88);
output.WriteInt32(StrengthenGroupId);
}
if (AttrBaseGroupId != 0) {
output.WriteRawTag(96);
output.WriteInt32(AttrBaseGroupId);
}
if (PromoteGroupId != 0) {
output.WriteRawTag(104);
output.WriteInt32(PromoteGroupId);
}
if (TransformItemId != 0) {
output.WriteRawTag(112);
output.WriteInt32(TransformItemId);
}
maxStarTransformItem_.WriteTo(ref output, _repeated_maxStarTransformItem_codec);
if (PassiveSkillGroupId != 0) {
output.WriteRawTag(128, 1);
output.WriteInt32(PassiveSkillGroupId);
}
if (CommonSkillId1 != 0) {
output.WriteRawTag(136, 1);
output.WriteInt32(CommonSkillId1);
}
if (CommonSkillId2 != 0) {
output.WriteRawTag(144, 1);
output.WriteInt32(CommonSkillId2);
}
readReward_.WriteTo(ref output, _repeated_readReward_codec);
if (VoFile.Length != 0) {
output.WriteRawTag(162, 1);
output.WriteString(VoFile);
}
if (VoBegin1 != 0F) {
output.WriteRawTag(173, 1);
output.WriteFloat(VoBegin1);
}
if (VoLoop1 != 0F) {
output.WriteRawTag(181, 1);
output.WriteFloat(VoLoop1);
}
if (VoName1.Length != 0) {
output.WriteRawTag(186, 1);
output.WriteString(VoName1);
}
if (VoBegin2 != 0F) {
output.WriteRawTag(197, 1);
output.WriteFloat(VoBegin2);
}
if (VoLoop2 != 0F) {
output.WriteRawTag(205, 1);
output.WriteFloat(VoLoop2);
}
if (VoName2.Length != 0) {
output.WriteRawTag(210, 1);
output.WriteString(VoName2);
}
if (VoStory.Length != 0) {
output.WriteRawTag(218, 1);
output.WriteString(VoStory);
}
if (StoryName.Length != 0) {
output.WriteRawTag(226, 1);
output.WriteString(StoryName);
}
if (StoryDesc.Length != 0) {
output.WriteRawTag(234, 1);
output.WriteString(StoryDesc);
}
if (CharId != 0) {
output.WriteRawTag(240, 1);
output.WriteInt32(CharId);
}
if (SkillScript.Length != 0) {
output.WriteRawTag(250, 1);
output.WriteString(SkillScript);
}
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 (EET != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(EET);
}
size += tags_.CalculateSize(_repeated_tags_codec);
if (Visible != false) {
size += 1 + 1;
}
if (Available != false) {
size += 1 + 1;
}
if (Image.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(Image);
}
size += note_.CalculateSize(_repeated_note_codec);
if (DiscBg.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(DiscBg);
}
if (Card.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(Card);
}
if (GachaBg.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(GachaBg);
}
if (StrengthenGroupId != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(StrengthenGroupId);
}
if (AttrBaseGroupId != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(AttrBaseGroupId);
}
if (PromoteGroupId != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(PromoteGroupId);
}
if (TransformItemId != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(TransformItemId);
}
size += maxStarTransformItem_.CalculateSize(_repeated_maxStarTransformItem_codec);
if (PassiveSkillGroupId != 0) {
size += 2 + pb::CodedOutputStream.ComputeInt32Size(PassiveSkillGroupId);
}
if (CommonSkillId1 != 0) {
size += 2 + pb::CodedOutputStream.ComputeInt32Size(CommonSkillId1);
}
if (CommonSkillId2 != 0) {
size += 2 + pb::CodedOutputStream.ComputeInt32Size(CommonSkillId2);
}
size += readReward_.CalculateSize(_repeated_readReward_codec);
if (VoFile.Length != 0) {
size += 2 + pb::CodedOutputStream.ComputeStringSize(VoFile);
}
if (VoBegin1 != 0F) {
size += 2 + 4;
}
if (VoLoop1 != 0F) {
size += 2 + 4;
}
if (VoName1.Length != 0) {
size += 2 + pb::CodedOutputStream.ComputeStringSize(VoName1);
}
if (VoBegin2 != 0F) {
size += 2 + 4;
}
if (VoLoop2 != 0F) {
size += 2 + 4;
}
if (VoName2.Length != 0) {
size += 2 + pb::CodedOutputStream.ComputeStringSize(VoName2);
}
if (VoStory.Length != 0) {
size += 2 + pb::CodedOutputStream.ComputeStringSize(VoStory);
}
if (StoryName.Length != 0) {
size += 2 + pb::CodedOutputStream.ComputeStringSize(StoryName);
}
if (StoryDesc.Length != 0) {
size += 2 + pb::CodedOutputStream.ComputeStringSize(StoryDesc);
}
if (CharId != 0) {
size += 2 + pb::CodedOutputStream.ComputeInt32Size(CharId);
}
if (SkillScript.Length != 0) {
size += 2 + pb::CodedOutputStream.ComputeStringSize(SkillScript);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(Disc other) {
if (other == null) {
return;
}
if (other.Id != 0) {
Id = other.Id;
}
if (other.EET != 0) {
EET = other.EET;
}
tags_.Add(other.tags_);
if (other.Visible != false) {
Visible = other.Visible;
}
if (other.Available != false) {
Available = other.Available;
}
if (other.Image.Length != 0) {
Image = other.Image;
}
note_.Add(other.note_);
if (other.DiscBg.Length != 0) {
DiscBg = other.DiscBg;
}
if (other.Card.Length != 0) {
Card = other.Card;
}
if (other.GachaBg.Length != 0) {
GachaBg = other.GachaBg;
}
if (other.StrengthenGroupId != 0) {
StrengthenGroupId = other.StrengthenGroupId;
}
if (other.AttrBaseGroupId != 0) {
AttrBaseGroupId = other.AttrBaseGroupId;
}
if (other.PromoteGroupId != 0) {
PromoteGroupId = other.PromoteGroupId;
}
if (other.TransformItemId != 0) {
TransformItemId = other.TransformItemId;
}
maxStarTransformItem_.Add(other.maxStarTransformItem_);
if (other.PassiveSkillGroupId != 0) {
PassiveSkillGroupId = other.PassiveSkillGroupId;
}
if (other.CommonSkillId1 != 0) {
CommonSkillId1 = other.CommonSkillId1;
}
if (other.CommonSkillId2 != 0) {
CommonSkillId2 = other.CommonSkillId2;
}
readReward_.Add(other.readReward_);
if (other.VoFile.Length != 0) {
VoFile = other.VoFile;
}
if (other.VoBegin1 != 0F) {
VoBegin1 = other.VoBegin1;
}
if (other.VoLoop1 != 0F) {
VoLoop1 = other.VoLoop1;
}
if (other.VoName1.Length != 0) {
VoName1 = other.VoName1;
}
if (other.VoBegin2 != 0F) {
VoBegin2 = other.VoBegin2;
}
if (other.VoLoop2 != 0F) {
VoLoop2 = other.VoLoop2;
}
if (other.VoName2.Length != 0) {
VoName2 = other.VoName2;
}
if (other.VoStory.Length != 0) {
VoStory = other.VoStory;
}
if (other.StoryName.Length != 0) {
StoryName = other.StoryName;
}
if (other.StoryDesc.Length != 0) {
StoryDesc = other.StoryDesc;
}
if (other.CharId != 0) {
CharId = other.CharId;
}
if (other.SkillScript.Length != 0) {
SkillScript = other.SkillScript;
}
_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: {
EET = input.ReadInt32();
break;
}
case 26:
case 24: {
tags_.AddEntriesFrom(input, _repeated_tags_codec);
break;
}
case 32: {
Visible = input.ReadBool();
break;
}
case 40: {
Available = input.ReadBool();
break;
}
case 50: {
Image = input.ReadString();
break;
}
case 58:
case 56: {
note_.AddEntriesFrom(input, _repeated_note_codec);
break;
}
case 66: {
DiscBg = input.ReadString();
break;
}
case 74: {
Card = input.ReadString();
break;
}
case 82: {
GachaBg = input.ReadString();
break;
}
case 88: {
StrengthenGroupId = input.ReadInt32();
break;
}
case 96: {
AttrBaseGroupId = input.ReadInt32();
break;
}
case 104: {
PromoteGroupId = input.ReadInt32();
break;
}
case 112: {
TransformItemId = input.ReadInt32();
break;
}
case 122:
case 120: {
maxStarTransformItem_.AddEntriesFrom(input, _repeated_maxStarTransformItem_codec);
break;
}
case 128: {
PassiveSkillGroupId = input.ReadInt32();
break;
}
case 136: {
CommonSkillId1 = input.ReadInt32();
break;
}
case 144: {
CommonSkillId2 = input.ReadInt32();
break;
}
case 154:
case 152: {
readReward_.AddEntriesFrom(input, _repeated_readReward_codec);
break;
}
case 162: {
VoFile = input.ReadString();
break;
}
case 173: {
VoBegin1 = input.ReadFloat();
break;
}
case 181: {
VoLoop1 = input.ReadFloat();
break;
}
case 186: {
VoName1 = input.ReadString();
break;
}
case 197: {
VoBegin2 = input.ReadFloat();
break;
}
case 205: {
VoLoop2 = input.ReadFloat();
break;
}
case 210: {
VoName2 = input.ReadString();
break;
}
case 218: {
VoStory = input.ReadString();
break;
}
case 226: {
StoryName = input.ReadString();
break;
}
case 234: {
StoryDesc = input.ReadString();
break;
}
case 240: {
CharId = input.ReadInt32();
break;
}
case 250: {
SkillScript = input.ReadString();
break;
}
}
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
if ((tag & 7) == 4) {
// Abort on any end group tag.
return;
}
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
break;
case 8: {
Id = input.ReadInt32();
break;
}
case 16: {
EET = input.ReadInt32();
break;
}
case 26:
case 24: {
tags_.AddEntriesFrom(ref input, _repeated_tags_codec);
break;
}
case 32: {
Visible = input.ReadBool();
break;
}
case 40: {
Available = input.ReadBool();
break;
}
case 50: {
Image = input.ReadString();
break;
}
case 58:
case 56: {
note_.AddEntriesFrom(ref input, _repeated_note_codec);
break;
}
case 66: {
DiscBg = input.ReadString();
break;
}
case 74: {
Card = input.ReadString();
break;
}
case 82: {
GachaBg = input.ReadString();
break;
}
case 88: {
StrengthenGroupId = input.ReadInt32();
break;
}
case 96: {
AttrBaseGroupId = input.ReadInt32();
break;
}
case 104: {
PromoteGroupId = input.ReadInt32();
break;
}
case 112: {
TransformItemId = input.ReadInt32();
break;
}
case 122:
case 120: {
maxStarTransformItem_.AddEntriesFrom(ref input, _repeated_maxStarTransformItem_codec);
break;
}
case 128: {
PassiveSkillGroupId = input.ReadInt32();
break;
}
case 136: {
CommonSkillId1 = input.ReadInt32();
break;
}
case 144: {
CommonSkillId2 = input.ReadInt32();
break;
}
case 154:
case 152: {
readReward_.AddEntriesFrom(ref input, _repeated_readReward_codec);
break;
}
case 162: {
VoFile = input.ReadString();
break;
}
case 173: {
VoBegin1 = input.ReadFloat();
break;
}
case 181: {
VoLoop1 = input.ReadFloat();
break;
}
case 186: {
VoName1 = input.ReadString();
break;
}
case 197: {
VoBegin2 = input.ReadFloat();
break;
}
case 205: {
VoLoop2 = input.ReadFloat();
break;
}
case 210: {
VoName2 = input.ReadString();
break;
}
case 218: {
VoStory = input.ReadString();
break;
}
case 226: {
StoryName = input.ReadString();
break;
}
case 234: {
StoryDesc = input.ReadString();
break;
}
case 240: {
CharId = input.ReadInt32();
break;
}
case 250: {
SkillScript = input.ReadString();
break;
}
}
}
}
#endif
}
#endregion
}
#endregion Designer generated code