// // Generated by the protocol buffer compiler. DO NOT EDIT! // source: DailyInstance.proto // #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 { /// Holder for reflection information generated from DailyInstance.proto public static partial class DailyInstanceReflection { #region Descriptor /// File descriptor for DailyInstance.proto public static pbr::FileDescriptor Descriptor { get { return descriptor; } } private static pbr::FileDescriptor descriptor; static DailyInstanceReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( "ChNEYWlseUluc3RhbmNlLnByb3RvIuMDCg1EYWlseUluc3RhbmNlEgoKAmlk", "GAEgASgFEhIKCmRhaWx5X3R5cGUYAiABKAUSEgoKZGlmZmljdWx0eRgDIAEo", "BRIMCgRuYW1lGAQgASgJEgwKBGRlc2MYBSABKAkSFwoPc3VnZ2VzdGVkX3Bv", "d2VyGAYgASgFEhQKDHByZV9sZXZlbF9pZBgHIAEoBRIWCg5wcmVfbGV2ZWxf", "c3RhchgIIAEoBRIYChBuZWVkX3dvcmxkX2NsYXNzGAkgASgFEhAKCGZsb29y", "X2lkGAogASgFEhUKDW9uZV9zdGFyX2Rlc2MYCyABKAkSFQoNdHdvX3N0YXJf", "ZGVzYxgMIAEoCRIXCg90aHJlZV9zdGFyX2Rlc2MYDSABKAkSHwoXb25lX3N0", "YXJfZW5lcmd5X2NvbnN1bWUYDiABKAUSHwoXdHdvX3N0YXJfZW5lcmd5X2Nv", "bnN1bWUYDyABKAUSIQoZdGhyZWVfc3Rhcl9lbmVyZ3lfY29uc3VtZRgQIAEo", "BRIVCg1hd2FyZF9kcm9wX2lkGBEgASgFEiAKGHByZXZpZXdfbW9uc3Rlcl9n", "cm91cF9pZBgSIAEoBRIMCgRpY29uGBMgASgJEhwKFGZpcnN0X3Jld2FyZF9w", "cmV2aWV3GBQgAygFQg6qAgtOb3ZhLkNsaWVudGIGcHJvdG8z")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.DailyInstance), global::Nova.Client.DailyInstance.Parser, new[]{ "Id", "DailyType", "Difficulty", "Name", "Desc", "SuggestedPower", "PreLevelId", "PreLevelStar", "NeedWorldClass", "FloorId", "OneStarDesc", "TwoStarDesc", "ThreeStarDesc", "OneStarEnergyConsume", "TwoStarEnergyConsume", "ThreeStarEnergyConsume", "AwardDropId", "PreviewMonsterGroupId", "Icon", "FirstRewardPreview" }, null, null, null, null) })); } #endregion } #region Messages [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] public sealed partial class DailyInstance : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new DailyInstance()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pb::MessageParser 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.DailyInstanceReflection.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 DailyInstance() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public DailyInstance(DailyInstance other) : this() { id_ = other.id_; dailyType_ = other.dailyType_; difficulty_ = other.difficulty_; name_ = other.name_; desc_ = other.desc_; suggestedPower_ = other.suggestedPower_; preLevelId_ = other.preLevelId_; preLevelStar_ = other.preLevelStar_; needWorldClass_ = other.needWorldClass_; floorId_ = other.floorId_; oneStarDesc_ = other.oneStarDesc_; twoStarDesc_ = other.twoStarDesc_; threeStarDesc_ = other.threeStarDesc_; oneStarEnergyConsume_ = other.oneStarEnergyConsume_; twoStarEnergyConsume_ = other.twoStarEnergyConsume_; threeStarEnergyConsume_ = other.threeStarEnergyConsume_; awardDropId_ = other.awardDropId_; previewMonsterGroupId_ = other.previewMonsterGroupId_; icon_ = other.icon_; firstRewardPreview_ = other.firstRewardPreview_.Clone(); _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public DailyInstance Clone() { return new DailyInstance(this); } /// Field number for the "id" field. 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; } } /// Field number for the "daily_type" field. public const int DailyTypeFieldNumber = 2; private int dailyType_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int DailyType { get { return dailyType_; } set { dailyType_ = value; } } /// Field number for the "difficulty" field. public const int DifficultyFieldNumber = 3; private int difficulty_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int Difficulty { get { return difficulty_; } set { difficulty_ = value; } } /// Field number for the "name" field. 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"); } } /// Field number for the "desc" field. 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"); } } /// Field number for the "suggested_power" field. public const int SuggestedPowerFieldNumber = 6; private int suggestedPower_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int SuggestedPower { get { return suggestedPower_; } set { suggestedPower_ = value; } } /// Field number for the "pre_level_id" field. public const int PreLevelIdFieldNumber = 7; private int preLevelId_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int PreLevelId { get { return preLevelId_; } set { preLevelId_ = value; } } /// Field number for the "pre_level_star" field. public const int PreLevelStarFieldNumber = 8; private int preLevelStar_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int PreLevelStar { get { return preLevelStar_; } set { preLevelStar_ = value; } } /// Field number for the "need_world_class" field. public const int NeedWorldClassFieldNumber = 9; private int needWorldClass_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int NeedWorldClass { get { return needWorldClass_; } set { needWorldClass_ = value; } } /// Field number for the "floor_id" field. public const int FloorIdFieldNumber = 10; private int floorId_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int FloorId { get { return floorId_; } set { floorId_ = value; } } /// Field number for the "one_star_desc" field. public const int OneStarDescFieldNumber = 11; private string oneStarDesc_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string OneStarDesc { get { return oneStarDesc_; } set { oneStarDesc_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "two_star_desc" field. public const int TwoStarDescFieldNumber = 12; private string twoStarDesc_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string TwoStarDesc { get { return twoStarDesc_; } set { twoStarDesc_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "three_star_desc" field. public const int ThreeStarDescFieldNumber = 13; private string threeStarDesc_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string ThreeStarDesc { get { return threeStarDesc_; } set { threeStarDesc_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "one_star_energy_consume" field. public const int OneStarEnergyConsumeFieldNumber = 14; private int oneStarEnergyConsume_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int OneStarEnergyConsume { get { return oneStarEnergyConsume_; } set { oneStarEnergyConsume_ = value; } } /// Field number for the "two_star_energy_consume" field. public const int TwoStarEnergyConsumeFieldNumber = 15; private int twoStarEnergyConsume_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int TwoStarEnergyConsume { get { return twoStarEnergyConsume_; } set { twoStarEnergyConsume_ = value; } } /// Field number for the "three_star_energy_consume" field. public const int ThreeStarEnergyConsumeFieldNumber = 16; private int threeStarEnergyConsume_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int ThreeStarEnergyConsume { get { return threeStarEnergyConsume_; } set { threeStarEnergyConsume_ = value; } } /// Field number for the "award_drop_id" field. public const int AwardDropIdFieldNumber = 17; private int awardDropId_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int AwardDropId { get { return awardDropId_; } set { awardDropId_ = value; } } /// Field number for the "preview_monster_group_id" field. public const int PreviewMonsterGroupIdFieldNumber = 18; private int previewMonsterGroupId_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int PreviewMonsterGroupId { get { return previewMonsterGroupId_; } set { previewMonsterGroupId_ = value; } } /// Field number for the "icon" field. public const int IconFieldNumber = 19; 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"); } } /// Field number for the "first_reward_preview" field. public const int FirstRewardPreviewFieldNumber = 20; private static readonly pb::FieldCodec _repeated_firstRewardPreview_codec = pb::FieldCodec.ForInt32(162); private readonly pbc::RepeatedField firstRewardPreview_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField FirstRewardPreview { get { return firstRewardPreview_; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as DailyInstance); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(DailyInstance other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (Id != other.Id) return false; if (DailyType != other.DailyType) return false; if (Difficulty != other.Difficulty) return false; if (Name != other.Name) return false; if (Desc != other.Desc) return false; if (SuggestedPower != other.SuggestedPower) return false; if (PreLevelId != other.PreLevelId) return false; if (PreLevelStar != other.PreLevelStar) return false; if (NeedWorldClass != other.NeedWorldClass) return false; if (FloorId != other.FloorId) return false; if (OneStarDesc != other.OneStarDesc) return false; if (TwoStarDesc != other.TwoStarDesc) return false; if (ThreeStarDesc != other.ThreeStarDesc) return false; if (OneStarEnergyConsume != other.OneStarEnergyConsume) return false; if (TwoStarEnergyConsume != other.TwoStarEnergyConsume) return false; if (ThreeStarEnergyConsume != other.ThreeStarEnergyConsume) return false; if (AwardDropId != other.AwardDropId) return false; if (PreviewMonsterGroupId != other.PreviewMonsterGroupId) return false; if (Icon != other.Icon) return false; if(!firstRewardPreview_.Equals(other.firstRewardPreview_)) 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 (DailyType != 0) hash ^= DailyType.GetHashCode(); if (Difficulty != 0) hash ^= Difficulty.GetHashCode(); if (Name.Length != 0) hash ^= Name.GetHashCode(); if (Desc.Length != 0) hash ^= Desc.GetHashCode(); if (SuggestedPower != 0) hash ^= SuggestedPower.GetHashCode(); if (PreLevelId != 0) hash ^= PreLevelId.GetHashCode(); if (PreLevelStar != 0) hash ^= PreLevelStar.GetHashCode(); if (NeedWorldClass != 0) hash ^= NeedWorldClass.GetHashCode(); if (FloorId != 0) hash ^= FloorId.GetHashCode(); if (OneStarDesc.Length != 0) hash ^= OneStarDesc.GetHashCode(); if (TwoStarDesc.Length != 0) hash ^= TwoStarDesc.GetHashCode(); if (ThreeStarDesc.Length != 0) hash ^= ThreeStarDesc.GetHashCode(); if (OneStarEnergyConsume != 0) hash ^= OneStarEnergyConsume.GetHashCode(); if (TwoStarEnergyConsume != 0) hash ^= TwoStarEnergyConsume.GetHashCode(); if (ThreeStarEnergyConsume != 0) hash ^= ThreeStarEnergyConsume.GetHashCode(); if (AwardDropId != 0) hash ^= AwardDropId.GetHashCode(); if (PreviewMonsterGroupId != 0) hash ^= PreviewMonsterGroupId.GetHashCode(); if (Icon.Length != 0) hash ^= Icon.GetHashCode(); hash ^= firstRewardPreview_.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 (DailyType != 0) { output.WriteRawTag(16); output.WriteInt32(DailyType); } if (Difficulty != 0) { output.WriteRawTag(24); output.WriteInt32(Difficulty); } if (Name.Length != 0) { output.WriteRawTag(34); output.WriteString(Name); } if (Desc.Length != 0) { output.WriteRawTag(42); output.WriteString(Desc); } if (SuggestedPower != 0) { output.WriteRawTag(48); output.WriteInt32(SuggestedPower); } if (PreLevelId != 0) { output.WriteRawTag(56); output.WriteInt32(PreLevelId); } if (PreLevelStar != 0) { output.WriteRawTag(64); output.WriteInt32(PreLevelStar); } if (NeedWorldClass != 0) { output.WriteRawTag(72); output.WriteInt32(NeedWorldClass); } if (FloorId != 0) { output.WriteRawTag(80); output.WriteInt32(FloorId); } if (OneStarDesc.Length != 0) { output.WriteRawTag(90); output.WriteString(OneStarDesc); } if (TwoStarDesc.Length != 0) { output.WriteRawTag(98); output.WriteString(TwoStarDesc); } if (ThreeStarDesc.Length != 0) { output.WriteRawTag(106); output.WriteString(ThreeStarDesc); } if (OneStarEnergyConsume != 0) { output.WriteRawTag(112); output.WriteInt32(OneStarEnergyConsume); } if (TwoStarEnergyConsume != 0) { output.WriteRawTag(120); output.WriteInt32(TwoStarEnergyConsume); } if (ThreeStarEnergyConsume != 0) { output.WriteRawTag(128, 1); output.WriteInt32(ThreeStarEnergyConsume); } if (AwardDropId != 0) { output.WriteRawTag(136, 1); output.WriteInt32(AwardDropId); } if (PreviewMonsterGroupId != 0) { output.WriteRawTag(144, 1); output.WriteInt32(PreviewMonsterGroupId); } if (Icon.Length != 0) { output.WriteRawTag(154, 1); output.WriteString(Icon); } firstRewardPreview_.WriteTo(output, _repeated_firstRewardPreview_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 (Id != 0) { output.WriteRawTag(8); output.WriteInt32(Id); } if (DailyType != 0) { output.WriteRawTag(16); output.WriteInt32(DailyType); } if (Difficulty != 0) { output.WriteRawTag(24); output.WriteInt32(Difficulty); } if (Name.Length != 0) { output.WriteRawTag(34); output.WriteString(Name); } if (Desc.Length != 0) { output.WriteRawTag(42); output.WriteString(Desc); } if (SuggestedPower != 0) { output.WriteRawTag(48); output.WriteInt32(SuggestedPower); } if (PreLevelId != 0) { output.WriteRawTag(56); output.WriteInt32(PreLevelId); } if (PreLevelStar != 0) { output.WriteRawTag(64); output.WriteInt32(PreLevelStar); } if (NeedWorldClass != 0) { output.WriteRawTag(72); output.WriteInt32(NeedWorldClass); } if (FloorId != 0) { output.WriteRawTag(80); output.WriteInt32(FloorId); } if (OneStarDesc.Length != 0) { output.WriteRawTag(90); output.WriteString(OneStarDesc); } if (TwoStarDesc.Length != 0) { output.WriteRawTag(98); output.WriteString(TwoStarDesc); } if (ThreeStarDesc.Length != 0) { output.WriteRawTag(106); output.WriteString(ThreeStarDesc); } if (OneStarEnergyConsume != 0) { output.WriteRawTag(112); output.WriteInt32(OneStarEnergyConsume); } if (TwoStarEnergyConsume != 0) { output.WriteRawTag(120); output.WriteInt32(TwoStarEnergyConsume); } if (ThreeStarEnergyConsume != 0) { output.WriteRawTag(128, 1); output.WriteInt32(ThreeStarEnergyConsume); } if (AwardDropId != 0) { output.WriteRawTag(136, 1); output.WriteInt32(AwardDropId); } if (PreviewMonsterGroupId != 0) { output.WriteRawTag(144, 1); output.WriteInt32(PreviewMonsterGroupId); } if (Icon.Length != 0) { output.WriteRawTag(154, 1); output.WriteString(Icon); } firstRewardPreview_.WriteTo(ref output, _repeated_firstRewardPreview_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 (Id != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(Id); } if (DailyType != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(DailyType); } if (Difficulty != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(Difficulty); } if (Name.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); } if (Desc.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(Desc); } if (SuggestedPower != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(SuggestedPower); } if (PreLevelId != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(PreLevelId); } if (PreLevelStar != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(PreLevelStar); } if (NeedWorldClass != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(NeedWorldClass); } if (FloorId != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(FloorId); } if (OneStarDesc.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(OneStarDesc); } if (TwoStarDesc.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(TwoStarDesc); } if (ThreeStarDesc.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(ThreeStarDesc); } if (OneStarEnergyConsume != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(OneStarEnergyConsume); } if (TwoStarEnergyConsume != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(TwoStarEnergyConsume); } if (ThreeStarEnergyConsume != 0) { size += 2 + pb::CodedOutputStream.ComputeInt32Size(ThreeStarEnergyConsume); } if (AwardDropId != 0) { size += 2 + pb::CodedOutputStream.ComputeInt32Size(AwardDropId); } if (PreviewMonsterGroupId != 0) { size += 2 + pb::CodedOutputStream.ComputeInt32Size(PreviewMonsterGroupId); } if (Icon.Length != 0) { size += 2 + pb::CodedOutputStream.ComputeStringSize(Icon); } size += firstRewardPreview_.CalculateSize(_repeated_firstRewardPreview_codec); if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(DailyInstance other) { if (other == null) { return; } if (other.Id != 0) { Id = other.Id; } if (other.DailyType != 0) { DailyType = other.DailyType; } if (other.Difficulty != 0) { Difficulty = other.Difficulty; } if (other.Name.Length != 0) { Name = other.Name; } if (other.Desc.Length != 0) { Desc = other.Desc; } if (other.SuggestedPower != 0) { SuggestedPower = other.SuggestedPower; } if (other.PreLevelId != 0) { PreLevelId = other.PreLevelId; } if (other.PreLevelStar != 0) { PreLevelStar = other.PreLevelStar; } if (other.NeedWorldClass != 0) { NeedWorldClass = other.NeedWorldClass; } if (other.FloorId != 0) { FloorId = other.FloorId; } if (other.OneStarDesc.Length != 0) { OneStarDesc = other.OneStarDesc; } if (other.TwoStarDesc.Length != 0) { TwoStarDesc = other.TwoStarDesc; } if (other.ThreeStarDesc.Length != 0) { ThreeStarDesc = other.ThreeStarDesc; } if (other.OneStarEnergyConsume != 0) { OneStarEnergyConsume = other.OneStarEnergyConsume; } if (other.TwoStarEnergyConsume != 0) { TwoStarEnergyConsume = other.TwoStarEnergyConsume; } if (other.ThreeStarEnergyConsume != 0) { ThreeStarEnergyConsume = other.ThreeStarEnergyConsume; } if (other.AwardDropId != 0) { AwardDropId = other.AwardDropId; } if (other.PreviewMonsterGroupId != 0) { PreviewMonsterGroupId = other.PreviewMonsterGroupId; } if (other.Icon.Length != 0) { Icon = other.Icon; } firstRewardPreview_.Add(other.firstRewardPreview_); _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: { DailyType = input.ReadInt32(); break; } case 24: { Difficulty = input.ReadInt32(); break; } case 34: { Name = input.ReadString(); break; } case 42: { Desc = input.ReadString(); break; } case 48: { SuggestedPower = input.ReadInt32(); break; } case 56: { PreLevelId = input.ReadInt32(); break; } case 64: { PreLevelStar = input.ReadInt32(); break; } case 72: { NeedWorldClass = input.ReadInt32(); break; } case 80: { FloorId = input.ReadInt32(); break; } case 90: { OneStarDesc = input.ReadString(); break; } case 98: { TwoStarDesc = input.ReadString(); break; } case 106: { ThreeStarDesc = input.ReadString(); break; } case 112: { OneStarEnergyConsume = input.ReadInt32(); break; } case 120: { TwoStarEnergyConsume = input.ReadInt32(); break; } case 128: { ThreeStarEnergyConsume = input.ReadInt32(); break; } case 136: { AwardDropId = input.ReadInt32(); break; } case 144: { PreviewMonsterGroupId = input.ReadInt32(); break; } case 154: { Icon = input.ReadString(); break; } case 162: case 160: { firstRewardPreview_.AddEntriesFrom(input, _repeated_firstRewardPreview_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: { Id = input.ReadInt32(); break; } case 16: { DailyType = input.ReadInt32(); break; } case 24: { Difficulty = input.ReadInt32(); break; } case 34: { Name = input.ReadString(); break; } case 42: { Desc = input.ReadString(); break; } case 48: { SuggestedPower = input.ReadInt32(); break; } case 56: { PreLevelId = input.ReadInt32(); break; } case 64: { PreLevelStar = input.ReadInt32(); break; } case 72: { NeedWorldClass = input.ReadInt32(); break; } case 80: { FloorId = input.ReadInt32(); break; } case 90: { OneStarDesc = input.ReadString(); break; } case 98: { TwoStarDesc = input.ReadString(); break; } case 106: { ThreeStarDesc = input.ReadString(); break; } case 112: { OneStarEnergyConsume = input.ReadInt32(); break; } case 120: { TwoStarEnergyConsume = input.ReadInt32(); break; } case 128: { ThreeStarEnergyConsume = input.ReadInt32(); break; } case 136: { AwardDropId = input.ReadInt32(); break; } case 144: { PreviewMonsterGroupId = input.ReadInt32(); break; } case 154: { Icon = input.ReadString(); break; } case 162: case 160: { firstRewardPreview_.AddEntriesFrom(ref input, _repeated_firstRewardPreview_codec); break; } } } } #endif } #endregion } #endregion Designer generated code